From: mquinson Date: Mon, 29 May 2006 12:26:39 +0000 (+0000) Subject: Take arguments as : (=cleanups); reduce default verbosity X-Git-Tag: v3.3~3045 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ba3cfdd2528cc9e2d3d1f74533906f2152155ac5?ds=sidebyside Take arguments as : (=cleanups); reduce default verbosity git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2313 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/amok/saturate/medium_deployment.xml b/examples/amok/saturate/medium_deployment.xml index a1ef8b73f6..20f506c095 100644 --- a/examples/amok/saturate/medium_deployment.xml +++ b/examples/amok/saturate/medium_deployment.xml @@ -2,48 +2,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/amok/saturate/saturate.c b/examples/amok/saturate/saturate.c index e0365cb7c1..37e95245f9 100644 --- a/examples/amok/saturate/saturate.c +++ b/examples/amok/saturate/saturate.c @@ -279,10 +279,8 @@ static void full_fledged_saturation(int argc, char*argv[]) { xbt_host_t h1,h2,h3,h4; /* Get the sensor location from argc/argv */ - for (i=1; iname=strdup(argv[i]); - host->port=atoi(argv[i+1]); + for (i=1; iname,host->port); xbt_dynar_push(hosts,&host); } @@ -324,7 +322,7 @@ static void full_fledged_saturation(int argc, char*argv[]) { double ratio; if (i==l || j==l || k==l) continue; - INFO4("TEST %s %s // %s %s", + VERB4("TEST %s %s // %s %s", h1->name,h2->name,h3->name,h4->name); amok_bw_request(h3->name,h3->port, h4->name,h4->port, buf_size,exp_size,msg_size,