From 8d32c7ffa94dd5e1fc62a06ddab007a7b3f711e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christophe=20Thi=C3=A9ry?= Date: Thu, 19 May 2011 15:49:14 +0200 Subject: [PATCH] Let the user set the latency with the constant network model --- src/surf/network_constant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.20.1