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
a804a54c
Commit
a804a54c
authored
Jun 24, 2020
by
Joanne Hugé
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix histogram printing mistakes
parent
b62397e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
packet-exchange/src/client.c
packet-exchange/src/client.c
+2
-2
packet-exchange/src/server.c
packet-exchange/src/server.c
+2
-2
No files found.
packet-exchange/src/client.c
View file @
a804a54c
...
...
@@ -307,8 +307,8 @@ static void print_histograms() {
if
(
tsn_task
==
SEND_PACKET_TASK
)
{
printf
(
"{
\"
measure_sets
\"
: [{"
"
\"
measure_type
\"
:
\"
packet_send_timestamps
\"
,"
"
\"
props_names
\"
: [
\"
user_space
\"
,
\"
kernel_space
\"
],"
"
\"
units
\"
: [
\"
us
\"
,
\"
us
\"
],"
"
\"
props_names
\"
: [
\"
kernel_space
\"
],"
"
\"
units
\"
: [
\"
us
\"
],"
"
\"
props_type
\"
:
\"
histogram
\"
,"
"
\"
metadata
\"
: {
\"
i
\"
:
\"
%dus
\"
,
\"
duration
\"
:
\"
%dh%d
\"
,
\"
etf_offset
\"
:
\"
%dus
\"
,},"
"
\"
props
\"
: [["
,
...
...
packet-exchange/src/server.c
View file @
a804a54c
...
...
@@ -274,7 +274,7 @@ static void print_histograms() {
"
\"
props_names
\"
: [
\"
kernel_space
\"
],"
"
\"
units
\"
: [
\"
us
\"
],"
"
\"
props_type
\"
:
\"
histogram
\"
,"
"
\"
metadata
\"
:
\"
i
\"
:
\"
%dus
\"
,
\"
duration
\"
:
\"
%dh%d
\"
},"
"
\"
metadata
\"
:
{
\"
i
\"
:
\"
%dus
\"
,
\"
duration
\"
:
\"
%dh%d
\"
},"
"
\"
props
\"
: [["
,
interval
,
duration_hour
,
duration_minutes
);
...
...
@@ -288,7 +288,7 @@ static void print_histograms() {
max_jitter
=
histogram_max
(
jitter_hist
,
MAX_JITTER
-
1
);
min_jitter
=
histogram_min
(
jitter_hist
,
MAX_JITTER
-
1
);
printf
(
"%s"
,
enable_timestamps
?
"
]
}, {"
:
"{
\"
measure_sets
\"
: [{"
);
printf
(
"%s"
,
enable_timestamps
?
"}, {"
:
"{
\"
measure_sets
\"
: [{"
);
printf
(
"
\"
measure_type
\"
:
\"
packet_jitter
\"
,"
"
\"
props_names
\"
: [
\"
jitter
\"
],"
...
...
Joanne Hugé
@jhuge
mentioned in commit
2aa17b73
·
Jul 31, 2020
mentioned in commit
2aa17b73
mentioned in commit 2aa17b73fd8c7c5a0c0e35ba717a55e84582700d
Toggle commit list
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