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
dae58f8c
Commit
dae58f8c
authored
Aug 06, 2013
by
Misbah Mubarak
Browse files
Updating the warnings in the torus model
parent
85252ac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/torus.c
View file @
dae58f8c
...
...
@@ -462,7 +462,7 @@ static void packet_arrive( nodes_state * s,
static
void
torus_report_stats
()
{
unsigned
long
long
avg_hops
,
total_finished_packets
;
long
long
avg_hops
,
total_finished_packets
;
tw_stime
avg_time
,
max_time
;
MPI_Reduce
(
&
total_hops
,
&
avg_hops
,
1
,
MPI_LONG_LONG
,
MPI_SUM
,
0
,
MPI_COMM_WORLD
);
...
...
@@ -565,7 +565,7 @@ static void event_handler(nodes_state * s, tw_bf * bf, nodes_message * msg, tw_l
case
CREDIT
:
packet_buffer_process
(
s
,
bf
,
msg
,
lp
);
break
;
DEFAULT
:
default
:
printf
(
"
\n
Being sent to wrong LP"
);
break
;
}
...
...
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