Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce amount of login for the new default loop count
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Jun 2005 12:08:46 +0000 (12:08 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Jun 2005 12:08:46 +0000 (12:08 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1463 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/tokenS/tokenS.c

index 735c236..d22444c 100644 (file)
@@ -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))) {