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
10a4b9d7
Commit
10a4b9d7
authored
Jun 23, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make server prints width smaller
parent
e0e8cde7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
packet-exchange/src/server.c
packet-exchange/src/server.c
+2
-3
No files found.
packet-exchange/src/server.c
View file @
10a4b9d7
...
@@ -224,7 +224,7 @@ int main(int argc, char *argv[]) {
...
@@ -224,7 +224,7 @@ int main(int argc, char *argv[]) {
int
jitter
=
ingress_stats
.
max_interval
-
ingress_stats
.
min_interval
;
int
jitter
=
ingress_stats
.
max_interval
-
ingress_stats
.
min_interval
;
printf
(
"%
10"
PRIu64
": J: %4d, I (ms): %4d %4d %4
d"
,
printf
(
"%
9"
PRIu64
": J: %5d, I (ms): %3d %3d %3
d"
,
ingress_stats
.
packets_received
,
ingress_stats
.
packets_received
,
jitter
,
jitter
,
ingress_stats
.
min_interval
/
1000
,
ingress_stats
.
min_interval
/
1000
,
...
@@ -233,11 +233,10 @@ int main(int argc, char *argv[]) {
...
@@ -233,11 +233,10 @@ int main(int argc, char *argv[]) {
if
(
enable_timestamps
)
{
if
(
enable_timestamps
)
{
printf
(
",
K : %4d %4d %4d, D: %5s,
L: %4d
\n
"
,
printf
(
",
K : %4d %4d %4d,
L: %4d
\n
"
,
ingress_stats
.
min_kernel_latency
,
ingress_stats
.
min_kernel_latency
,
ingress_stats
.
avg_kernel_latency
,
ingress_stats
.
avg_kernel_latency
,
ingress_stats
.
max_kernel_latency
,
ingress_stats
.
max_kernel_latency
,
ingress_stats
.
data
,
ingress_stats
.
lost_packets
);
ingress_stats
.
lost_packets
);
}
else
{
}
else
{
printf
(
"
\n
"
);
printf
(
"
\n
"
);
...
...
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