Commit caac4e98 authored by Philip Carns's avatar Philip Carns

minor tweak

parent 7a53c394
......@@ -385,7 +385,7 @@ static void handle_msg_start_rev_event(
stat = model_net_find_stats(m->category, ns->sn_stats_array);
stat->send_count--;
stat->send_bytes -= m->net_msg_size_bytes;
stat->send_time -= global_net_startup_ns + rate_to_ns(m->net_msg_size_bytes, global_net_bw_mbs);
stat->send_time -= (global_net_startup_ns + rate_to_ns(m->net_msg_size_bytes, global_net_bw_mbs));
return;
}
......@@ -415,7 +415,7 @@ static void handle_msg_start_event(
stat = model_net_find_stats(m->category, ns->sn_stats_array);
stat->send_count++;
stat->send_bytes += m->net_msg_size_bytes;
stat->send_time += global_net_startup_ns + rate_to_ns(m->net_msg_size_bytes, global_net_bw_mbs);
stat->send_time += (global_net_startup_ns + rate_to_ns(m->net_msg_size_bytes, global_net_bw_mbs));
if(stat->max_event_size < total_event_size)
stat->max_event_size = total_event_size;
......
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