Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Elsa Gonsiorowski
codes
Commits
e9ad2621
Commit
e9ad2621
authored
Nov 29, 2016
by
Misbah Mubarak
Browse files
Fixing the header for packet latency
parent
4a85c2e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly.c
View file @
e9ad2621
...
...
@@ -2348,7 +2348,7 @@ dragonfly_terminal_final( terminal_state * s,
int
written
=
0
;
if
(
!
s
->
terminal_id
)
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP id> <Terminal ID> <Total Data Size> <A
v
g packet latency> <# Flits/Packets finished> <Avg hops> <Busy Time>"
);
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP id> <Terminal ID> <Total Data Size> <Ag
gregate
packet latency> <# Flits/Packets finished> <Avg hops> <Busy Time>"
);
written
+=
sprintf
(
s
->
output_buf
+
written
,
"
\n
%llu %u %ld %lf %ld %lf %lf"
,
LLU
(
lp
->
gid
),
s
->
terminal_id
,
s
->
total_msg_size
,
s
->
total_time
,
...
...
src/networks/model-net/fattree.c
View file @
e9ad2621
...
...
@@ -2711,7 +2711,7 @@ void fattree_terminal_final( ft_terminal_state * s, tw_lp * lp )
int
written
=
0
;
if
(
!
s
->
terminal_id
)
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP id> <Terminal ID> <Total Data Size> <A
v
g packet latency> <# Flits/Packets finished> <Avg hops> <Busy Time>
\n
"
);
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP id> <Terminal ID> <Total Data Size> <Ag
gregate
packet latency> <# Flits/Packets finished> <Avg hops> <Busy Time>
\n
"
);
written
+=
sprintf
(
s
->
output_buf
+
written
,
"%llu %u %ld %lf %ld %lf %lf
\n
"
,
LLU
(
lp
->
gid
),
s
->
terminal_id
,
s
->
total_msg_size
,
s
->
total_time
,
...
...
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