From: Augustin Degomme Date: Thu, 27 Sep 2012 10:47:07 +0000 (+0200) Subject: yet another correction for those factors, hope this is the last one .. X-Git-Tag: v3_8~146^2~8 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/21b1663cbbd55aa4635fead639a6679f0c83c823 yet another correction for those factors, hope this is the last one .. --- diff --git a/src/surf/network.c b/src/surf/network.c index f6b356c863..e295c736cb 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -130,8 +130,9 @@ static double smpi_bandwidth_factor(double size) }else current=fact.value; } + XBT_DEBUG("%lf > %ld return %f", size, fact.factor, current); - return 1.0; + return current; } static double smpi_latency_factor(double size) @@ -150,8 +151,9 @@ static double smpi_latency_factor(double size) }else current=fact.value; } + XBT_DEBUG("%lf > %ld return %f", size, fact.factor, current); - return 1.0; + return current; } /**--------- -----------*/