Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
c05eb56e
Commit
c05eb56e
authored
Jun 30, 2016
by
Misbah Mubarak
Browse files
Enabling max wait time parameter
parent
1f2009af
Changes
1
Hide whitespace changes
Inline
Side-by-side
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