Commit c05eb56e authored by Misbah Mubarak's avatar Misbah Mubarak

Enabling max wait time parameter

parent 1f2009af
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment