From: Christophe ThiƩry Date: Thu, 19 May 2011 13:49:14 +0000 (+0200) Subject: Let the user set the latency with the constant network model X-Git-Tag: v3_6_rc3~17 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8d32c7ffa94dd5e1fc62a06ddab007a7b3f711e3?ds=sidebyside Let the user set the latency with the constant network model --- diff --git a/src/surf/network_constant.c b/src/surf/network_constant.c index 066cd014dc..7b811c41e8 100644 --- a/src/surf/network_constant.c +++ b/src/surf/network_constant.c @@ -125,7 +125,7 @@ static surf_action_t netcste_communicate(const char *src_name, action->suspended = 0; - action->latency = 1; //random_generate(random_latency); + action->latency = sg_latency_factor; //random_generate(random_latency); action->lat_init = action->latency; if (action->latency <= 0.0) {