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
aa3d0fb0
Commit
aa3d0fb0
authored
Aug 26, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add histogram names
parent
d0881a60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
packet-exchange/src/client.c
packet-exchange/src/client.c
+1
-1
packet-exchange/src/server.c
packet-exchange/src/server.c
+2
-2
No files found.
packet-exchange/src/client.c
View file @
aa3d0fb0
...
...
@@ -390,7 +390,7 @@ static void print_histograms() {
max_hist_val
=
histogram_max
(
histogram
,
MAX_RTT
-
1
);
}
printf
(
"#
H
istogram
\n
"
);
printf
(
"#
Packet TX timestamps h
istogram
\n
"
);
for
(
int
j
=
0
;
j
<
max_hist_val
;
j
++
)
printf
(
"%06d %015"
PRIi64
"
\n
"
,
j
,
histogram
[
j
]);
...
...
packet-exchange/src/server.c
View file @
aa3d0fb0
...
...
@@ -374,7 +374,7 @@ static void print_histograms() {
if
(
enable_timestamps
)
{
max_latency
=
histogram_max
(
kernel_latency_hist
,
MAX_KERNEL_LATENCY
-
1
);
printf
(
"#
H
istogram
\n
"
);
printf
(
"#
Packet RX timestamps h
istogram
\n
"
);
for
(
int
j
=
0
;
j
<
max_latency
;
j
++
)
printf
(
" %06d %015"
PRIi64
"
\n
"
,
j
,
kernel_latency_hist
[
j
]);
...
...
@@ -386,7 +386,7 @@ static void print_histograms() {
}
printf
(
"#
H
istogram
\n
"
);
printf
(
"#
Packet jitter h
istogram
\n
"
);
for
(
int
j
=
min_jitter
;
j
<
max_jitter
;
j
++
)
printf
(
" %06d %015"
PRIi64
"
\n
"
,
j
,
jitter_hist
[
j
]);
...
...
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