Commit 251952eb authored by Misbah Mubarak's avatar Misbah Mubarak

bug fix in torus statistics reporting

parent 00aa08fc
...@@ -25,5 +25,5 @@ PARAMS ...@@ -25,5 +25,5 @@ PARAMS
global_bandwidth="4.7"; global_bandwidth="4.7";
cn_bandwidth="5.25"; cn_bandwidth="5.25";
message_size="512"; message_size="512";
routing="minimal"; routing="nonminimal";
} }
...@@ -1734,7 +1734,7 @@ final( nodes_state * s, tw_lp * lp ) ...@@ -1734,7 +1734,7 @@ final( nodes_state * s, tw_lp * lp )
} }
written += sprintf(s->output_buf + written, "%lu %u %ld %lf %ld %lf\n", written += sprintf(s->output_buf + written, "%lu %u %ld %lf %ld %lf\n",
lp->gid, s->node_id, s->total_data_sz, s->total_time, lp->gid, s->node_id, s->total_data_sz, s->total_time,
s->finished_packets, (double)s->total_hops/s->finished_chunks); s->finished_packets, (double)s->total_hops/s->finished_packets);
lp_io_write(lp->gid, "torus-msg-stats", written, s->output_buf); lp_io_write(lp->gid, "torus-msg-stats", written, s->output_buf);
......
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