Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Oups, I changed the prototype of these functions
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 10 Jun 2008 10:04:51 +0000 (10:04 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 10 Jun 2008 10:04:51 +0000 (10:04 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5591 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/amok/bandwidth/bandwidth.c
examples/amok/saturate/saturate.c

index 54c426c..5f1b720 100644 (file)
@@ -47,7 +47,7 @@ int sensor (int argc,char *argv[]) {
      }
   }
                                              
      }
   }
                                              
-  amok_pm_group_join(master,"bandwidth");
+  amok_pm_group_join(master,"bandwidth",-1);
   amok_pm_mainloop(60);
 
   gras_socket_close(mysock);
   amok_pm_mainloop(60);
 
   gras_socket_close(mysock);
index 4f3a802..6734088 100644 (file)
@@ -39,7 +39,7 @@ int sensor (int argc,char *argv[]) {
   gras_os_sleep(2); /* let the master get ready */
   master = gras_socket_client_from_string(argv[1]);
                                              
   gras_os_sleep(2); /* let the master get ready */
   master = gras_socket_client_from_string(argv[1]);
                                              
-  amok_pm_group_join(master,"saturate");
+  amok_pm_group_join(master,"saturate",-1);
   amok_pm_mainloop(600);
 
   gras_socket_close(mysock);
   amok_pm_mainloop(600);
 
   gras_socket_close(mysock);