X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cb2a33ffbf5d75a089a156d48e6e7f4ed6217888..6f8ebb23a6f40061a1582065cdf8ae8368903570:/examples/msg/msg_test.c?ds=sidebyside diff --git a/examples/msg/msg_test.c b/examples/msg/msg_test.c index b5f2a88bf6..012ba95203 100644 --- a/examples/msg/msg_test.c +++ b/examples/msg/msg_test.c @@ -225,6 +225,7 @@ int forwarder(int argc, char *argv[]) void test_all(const char *platform_file,const char *application_file) { { /* Simulation setting */ + MSG_paje_output("msg_test.trace"); MSG_set_channel_number(MAX_CHANNEL); MSG_create_environment(platform_file); } @@ -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()); }