Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
nexedi
tsn-measures
Commits
8f31894f
Commit
8f31894f
authored
Jun 23, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print intervals in milliseconds
parent
4982307e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
packet-exchange/src/server.c
packet-exchange/src/server.c
+5
-5
No files found.
packet-exchange/src/server.c
View file @
8f31894f
...
...
@@ -224,16 +224,16 @@ int main(int argc, char *argv[]) {
int
jitter
=
ingress_stats
.
max_interval
-
ingress_stats
.
min_interval
;
printf
(
"%10"
PRIu64
": J: %4d, I: %4d %4d %4d"
,
printf
(
"%10"
PRIu64
": J: %4d, I
(ms)
: %4d %4d %4d"
,
ingress_stats
.
packets_received
,
jitter
,
ingress_stats
.
min_interval
,
ingress_stats
.
avg_interval
,
ingress_stats
.
max_interval
);
ingress_stats
.
min_interval
/
1000
,
ingress_stats
.
avg_interval
/
1000
,
ingress_stats
.
max_interval
/
1000
);
if
(
enable_timestamps
)
{
printf
(
", K: %4d %4d %4d, D: %5s, L: %4d
\n
"
,
printf
(
", K
: %4d %4d %4d, D: %5s, L: %4d
\n
"
,
ingress_stats
.
min_kernel_latency
,
ingress_stats
.
avg_kernel_latency
,
ingress_stats
.
max_kernel_latency
,
...
...
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