Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
moving to the right location.
[simgrid.git] / examples / msg / msg_test.c
index b5f2a88..f7b68ce 100644 (file)
@@ -226,6 +226,7 @@ void test_all(const char *platform_file,const char *application_file)
 {
   {                            /*  Simulation setting */
     MSG_set_channel_number(MAX_CHANNEL);
+    MSG_paje_output("msg_test.trace");
     MSG_create_environment(platform_file);
   }
   {                            /*   Application deployment */
@@ -234,7 +235,6 @@ void test_all(const char *platform_file,const char *application_file)
     MSG_function_register("forwarder", forwarder);
     MSG_launch_application(application_file);
   }
-  MSG_paje_output("msg_test.trace");
   MSG_main();
   printf("Simulation time %g\n",MSG_getClock());
 }