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
Xin Wang
codes-dev
Commits
ee3abb58
Commit
ee3abb58
authored
Oct 03, 2016
by
Misbah Mubarak
Browse files
Modifying to report avg packet latency instead of aggregate packet time on network
parent
b53ae378
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly.c
View file @
ee3abb58
...
...
@@ -2351,7 +2351,7 @@ dragonfly_terminal_final( terminal_state * s,
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP id> <Terminal ID> <Total Data Size> <Avg 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
,
LLU
(
lp
->
gid
),
s
->
terminal_id
,
s
->
total_msg_size
,
(
double
)
s
->
total_time
/
s
->
finished_packets
,
s
->
finished_packets
,
(
double
)
s
->
total_hops
/
s
->
finished_chunks
,
s
->
busy_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