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
c05eb56e
Commit
c05eb56e
authored
Jun 30, 2016
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabling max wait time parameter
parent
1f2009af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+3
-3
No files found.
src/network-workloads/model-net-mpi-replay.c
View file @
c05eb56e
...
...
@@ -1307,7 +1307,7 @@ static void get_next_mpi_operation(nw_state* s, tw_bf * bf, nw_message * m, tw_l
if
(
mpi_op
.
op_type
==
CODES_WK_END
)
{
s
->
elapsed_time
=
tw_now
(
lp
)
-
s
->
start_time
;
s
->
elapsed_time
=
tw_now
(
lp
)
-
s
->
start_time
;
return
;
}
switch
(
mpi_op
.
op_type
)
...
...
@@ -1418,9 +1418,9 @@ void nw_test_finalize(nw_state* s, tw_lp* lp)
fwrite
(
s
->
mpi_wkld_samples
,
sizeof
(
struct
mpi_workload_sample
),
s
->
sampling_indx
+
1
,
workload_agg_log
);
}
sample_bytes_written
+=
(
s
->
sampling_indx
*
sizeof
(
struct
mpi_workload_sample
));
/*
if(s->wait_time > max_wait_time)
if
(
s
->
wait_time
>
max_wait_time
)
max_wait_time
=
s
->
wait_time
;
*/
if
(
s
->
send_time
>
max_send_time
)
max_send_time
=
s
->
send_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