Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Trying to fix the random set-up
[simgrid.git] / teshsuite / surf / maxmin_bench / maxmin_bench.c
index fde6ccf..99f393e 100644 (file)
@@ -141,9 +141,12 @@ int main(int argc, char **argv)
     return -2;
   }
 
+  
   //How many times?
   testcount=atoi(argv[2]);
   
+  srand(testcount);
+
   //Show me everything (debug or performance)!
   mode=0;
   if(argc>=4 && strcmp(argv[3],"test")==0)