From: mquinson Date: Wed, 12 Jul 2006 06:44:47 +0000 (+0000) Subject: Actually use the autocomputed saturation size, too X-Git-Tag: v3.3~2824 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/719139148de38b6d0dd44a684495f6ed8e0d06b5?ds=sidebyside Actually use the autocomputed saturation size, too git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2534 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/amok/Bandwidth/saturate.c b/src/amok/Bandwidth/saturate.c index efa150caa7..84d65e424b 100644 --- a/src/amok/Bandwidth/saturate.c +++ b/src/amok/Bandwidth/saturate.c @@ -156,7 +156,8 @@ void amok_bw_saturate_begin(const char* to_name,unsigned int to_port, 0,512*1024, 512*1024, /* 512k as first guess */ 1, /* at least one sec */ &sec, &bw); - request->msg_size = (int)bw; + msg_size = request->msg_size = (int)bw; + DEBUG1("Saturate with packets of %d bytes",request->msg_size); } /* Launch the saturation */ @@ -198,7 +199,7 @@ void amok_bw_saturate_begin(const char* to_name,unsigned int to_port, /* Check whether the experiment has to be terminated by now */ elapsed=gras_os_time()-start; - DEBUG2("elapsed %f duration %f",elapsed, duration); + DEBUG3("elapsed %f duration %f (msg_size=%d)",elapsed, duration,msg_size); } while (saturate_further && (duration==0 || elapsed < duration));