Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce the number of loops to do to not kill the old machines out there
[simgrid.git] / examples / gras / tokenS / tokenS.c
index 69b6327..5981598 100644 (file)
@@ -11,8 +11,7 @@
  
 #include "gras.h"
  
-//#define NBLOOPS 10
-#define NBLOOPS 1000
+#define NBLOOPS 100
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(Token,"Messages specific to this example");
 
@@ -112,7 +111,7 @@ int node (int argc,char *argv[]) {
   
   
   /* 1. Init the GRAS infrastructure and declare my globals */
-  gras_init(&argc,argv, NULL);
+  gras_init(&argc,argv);
   globals=gras_userdata_new(node_data_t);
   
   
@@ -209,6 +208,5 @@ int node (int argc,char *argv[]) {
   free(globals);
   gras_exit();
   
-  INFO0("Done");
   return no_error;
 } /* end_of_node */