From: velho Date: Tue, 25 Nov 2008 16:18:44 +0000 (+0000) Subject: Removed bogus +1 while printing flow id coping with all experiments done before,... X-Git-Tag: v3.3~74 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c5c65e18f5945fd0449ddb77d3726243f0288a2c Removed bogus +1 while printing flow id coping with all experiments done before, don't modify it, work in a new copy. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6105 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/msg/gtnets/gtnets.c b/examples/msg/gtnets/gtnets.c index 143442d125..32430c2152 100644 --- a/examples/msg/gtnets/gtnets.c +++ b/examples/msg/gtnets/gtnets.c @@ -109,10 +109,10 @@ int slave(int argc, char *argv[]) for(id=0; id Estimated Bw of FLOW[%d] : %f ; message from %s to %s with remaining : %f", id+1, gl_data_size[id]/elapsed_time, masternames[id], slavenames[id], 0.0); + INFO5("===> Estimated Bw of FLOW[%d] : %f ; message from %s to %s with remaining : %f", id, gl_data_size[id]/elapsed_time, masternames[id], slavenames[id], 0.0); }else{ remaining = MSG_task_get_remaining_communication(gl_task_array[id]); - INFO5("===> Estimated Bw of FLOW[%d] : %f ; message from %s to %s with remaining : %f", id+1, (gl_data_size[id]-remaining)/elapsed_time, masternames[id], slavenames[id], remaining); + INFO5("===> Estimated Bw of FLOW[%d] : %f ; message from %s to %s with remaining : %f", id, (gl_data_size[id]-remaining)/elapsed_time, masternames[id], slavenames[id], remaining); } } exit(0);