GitLab maintenance scheduled for Today, 2019-09-24, from 12:00 to 13:00 CT - Services will be unavailable during this time.

Commit a0754d04 authored by Misbah Mubarak's avatar Misbah Mubarak

Adding statistics collection using lp-io in model-net API (comes from the...

Adding statistics collection using lp-io in model-net API (comes from the simple-net stats collection), works for simple-net, torus and the dragonfly network models (updating comments)
parent 66ba3dda
......@@ -146,12 +146,15 @@ int model_net_get_packet_size(int net_id);
void model_net_add_lp_type(int net_id);
/* used for reporting overall network statistics for e.g. average latency ,
* maximum latency, total number of packets finished during the entire
* simulation etc. */
void model_net_report_stats(int net_id);
/* writing model-net statistics */
/* writing model-net statistics on a per LP basis */
void model_net_write_stats(tw_lpid lpid, mn_stats* stat);
/* printing model-net statistics */
/* printing model-net statistics on a per LP basis */
void model_net_print_stats(tw_lpid lpid, mn_stats mn_stats_array[]);
/* find model-net statistics */
......
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