Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
dae58f8c
Commit
dae58f8c
authored
Aug 06, 2013
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating the warnings in the torus model
parent
85252ac4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/models/networks/model-net/torus.c
src/models/networks/model-net/torus.c
+2
-2
No files found.
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