Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
b5276bdb
Commit
b5276bdb
authored
Dec 10, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nFAPI log: cleanly separate tv_sec/tv_nsec for readability
parent
09980407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nfapi/open-nFAPI/common/src/debug.c
nfapi/open-nFAPI/common/src/debug.c
+1
-1
No files found.
nfapi/open-nFAPI/common/src/debug.c
View file @
b5276bdb
...
@@ -66,7 +66,7 @@ void nfapi_trace(nfapi_trace_level_t level,
...
@@ -66,7 +66,7 @@ void nfapi_trace(nfapi_trace_level_t level,
{
{
struct
timespec
ts
;
struct
timespec
ts
;
clock_gettime
(
CLOCK_MONOTONIC
,
&
ts
);
clock_gettime
(
CLOCK_MONOTONIC
,
&
ts
);
printf
(
"%ld%06ld [%c] %10u: %s: "
,
printf
(
"%ld
.
%06ld [%c] %10u: %s: "
,
ts
.
tv_sec
,
ts
.
tv_sec
,
ts
.
tv_nsec
/
1000
,
ts
.
tv_nsec
/
1000
,
"XEWNID"
[
level
],
// NFAPI_TRACE_NONE, NFAPI_TRACE_ERROR, ...
"XEWNID"
[
level
],
// NFAPI_TRACE_NONE, NFAPI_TRACE_ERROR, ...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment