Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Completely remove channel mecanism with tesh tested examples.
[simgrid.git] / examples / msg / parallel_task / parallel_task.c
index 3a3825c..f546f6c 100644 (file)
@@ -53,7 +53,7 @@ int test(int argc, char *argv[])
 /*   free(communication_amount); */
 /*   free(computation_amount); */
 
-  INFO0("Goodbye now!");
+  XBT_INFO("Goodbye now!");
   free(slaves);
   return 0;
 }
@@ -65,7 +65,6 @@ MSG_error_t test_all(const char *platform_file)
   m_host_t *hosts;
 
   MSG_config("workstation/model", "ptask_L07");
-  MSG_set_channel_number(1);
   MSG_create_environment(platform_file);
 
   hosts = MSG_get_host_table();
@@ -73,7 +72,7 @@ MSG_error_t test_all(const char *platform_file)
   res = MSG_main();
   xbt_free(hosts);
 
-  INFO1("Simulation time %g", MSG_get_clock());
+  XBT_INFO("Simulation time %g", MSG_get_clock());
   return res;
 }