From: mquinson Date: Tue, 28 Jun 2005 12:08:46 +0000 (+0000) Subject: reduce amount of login for the new default loop count X-Git-Tag: v3.3~3892 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/14d6c9ebb53a01a4c0b36b625aed60518d13fe2e reduce amount of login for the new default loop count git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1463 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/tokenS/tokenS.c b/examples/gras/tokenS/tokenS.c index 735c23674e..d22444cfc9 100644 --- a/examples/gras/tokenS/tokenS.c +++ b/examples/gras/tokenS/tokenS.c @@ -54,7 +54,7 @@ static int node_cb_stoken_handler(gras_socket_t expeditor, int supersteps = 1; if (NBLOOPS >= 1000) { supersteps = 100; - } else if (NBLOOPS > 100) { + } else if (NBLOOPS >= 100) { supersteps = 10; } if (globals->create && (! (globals->remaining_loop % supersteps))) {