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
0cd09451
Commit
0cd09451
authored
Nov 02, 2015
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some simulation progress stats, updated dragonfly out of order packet arrival
parent
bf9dbce4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
78 deletions
+84
-78
src/models/network-workloads/model-net-mpi-wrklds.c
src/models/network-workloads/model-net-mpi-wrklds.c
+11
-1
src/models/networks/model-net/dragonfly.c
src/models/networks/model-net/dragonfly.c
+73
-77
No files found.
src/models/network-workloads/model-net-mpi-wrklds.c
View file @
0cd09451
...
...
@@ -14,6 +14,7 @@
#include "codes/rc-stack.h"
#define TRACE -1
#define TRACK 0
char
workload_type
[
128
];
char
workload_file
[
8192
];
...
...
@@ -95,7 +96,10 @@ struct nw_state
short
wrkld_end
;
struct
rc_stack
*
st
;
/* count of sends, receives, collectives and delays */
uint64_t
num_completed
;
/* count of sends, receives, collectives and delays */
unsigned
long
num_sends
;
unsigned
long
num_recvs
;
unsigned
long
num_cols
;
...
...
@@ -1246,6 +1250,12 @@ static void get_next_mpi_operation(nw_state* s, tw_bf * bf, nw_message * m, tw_l
struct
codes_workload_op
*
mpi_op
=
malloc
(
sizeof
(
struct
codes_workload_op
));
codes_workload_get_next
(
wrkld_id
,
0
,
(
int
)
s
->
nw_id
,
mpi_op
);
s
->
num_completed
++
;
if
(
s
->
nw_id
==
TRACK
&&
s
->
num_completed
%
10000
==
0
)
printf
(
"
\n
Status: LP %ld completed %ld MPI operations "
,
s
->
nw_id
,
s
->
num_completed
);
m
->
u
.
rc
.
saved_op
=
mpi_op
;
if
(
mpi_op
->
op_type
==
CODES_WK_END
)
{
...
...
src/models/networks/model-net/dragonfly.c
View file @
0cd09451
This diff is collapsed.
Click to expand it.
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