// printf("Router %d in group %d: Min GC Usage= %d Max GC Usage= %d Mean GC Usage= %.2f", s->router_id, s->router_id / s->params->num_routers, min_gc_usage, max_gc_usage, mean_gc_usage);
// printf("\t[");
// for(int i = 0; i < s->params->num_global_connections; i++)
/*MM: These statistics will need to be updated for dragonfly plus.
* Especially the meta file information on router ports still have green
* and black links. */
constdragonfly_plus_param*p=s->params;
intwritten=0;
if(!s->router_id){
written=
sprintf(s->output_buf,"# Format <Type> <LP ID> <Group ID> <Router ID> <Busy time per router port(s)>");
written+=sprintf(s->output_buf+written,"\n# Router ports in the order: %d Intra Links, %d Inter Links %d Terminal Links. Hyphens for Unconnected ports (No terminals on Spine routers)",p->intra_grp_radix,p->num_global_connections,p->num_cn);
sprintf(s->output_buf2,"# Format <LP ID> <Group ID> <Router ID> <Busy time per router port(s)>");
written+=sprintf(s->output_buf2+written,"\n# Router ports in the order: %d Intra Links, %d Inter Links %d Terminal Links. Hyphens for Unconnected ports (No terminals on Spine routers)",p->intra_grp_radix,p->num_global_connections,p->num_cn);
// /*MM: These statistics will need to be updated for dragonfly plus.
// * Especially the meta file information on router ports still have green
// * and black links. */
// const dragonfly_plus_param *p = s->params;
// int written = 0;
// if (!s->router_id) {
// written =
// sprintf(s->output_buf, "# Format <Type> <LP ID> <Group ID> <Router ID> <Busy time per router port(s)>");
// written += sprintf(s->output_buf + written, "\n# Router ports in the order: %d Intra Links, %d Inter Links %d Terminal Links. Hyphens for Unconnected ports (No terminals on Spine routers)", p->intra_grp_radix, p->num_global_connections, p->num_cn);
// sprintf(s->output_buf2, "# Format <LP ID> <Group ID> <Router ID> <Busy time per router port(s)>");
// written += sprintf(s->output_buf2 + written, "\n# Router ports in the order: %d Intra Links, %d Inter Links %d Terminal Links. Hyphens for Unconnected ports (No terminals on Spine routers)", p->intra_grp_radix, p->num_global_connections, p->num_cn);