Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
b60c915c
Commit
b60c915c
authored
Aug 07, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proto-ext-whiterabbit: print leading zeros in timestamps
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
c0a3c95b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wr-servo.c
proto-ext-whiterabbit/wr-servo.c
+1
-1
No files found.
proto-ext-whiterabbit/wr-servo.c
View file @
b60c915c
...
...
@@ -57,7 +57,7 @@ void wr_servo_enable_tracking(int enable)
static
void
dump_timestamp
(
struct
pp_instance
*
ppi
,
char
*
what
,
struct
pp_time
ts
)
{
pp_diag
(
ppi
,
servo
,
2
,
"%s = %ld:%
ld:%
ld
\n
"
,
what
,
(
long
)
ts
.
secs
,
pp_diag
(
ppi
,
servo
,
2
,
"%s = %ld:%
09ld:%03
ld
\n
"
,
what
,
(
long
)
ts
.
secs
,
(
long
)(
ts
.
scaled_nsecs
>>
16
),
/* unlikely what we had earlier, third field is not phase */
((
long
)(
ts
.
scaled_nsecs
&
0xffff
)
*
1000
+
0x8000
)
>>
16
);
...
...
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