X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3e650a06bf8a91b8feefda4acc421fd9641515b..6f8ebb23a6f40061a1582065cdf8ae8368903570:/examples/msg/msg_test.c diff --git a/examples/msg/msg_test.c b/examples/msg/msg_test.c index 96705fccfa..012ba95203 100644 --- a/examples/msg/msg_test.c +++ b/examples/msg/msg_test.c @@ -186,7 +186,7 @@ int forwarder(int argc, char *argv[]) } } - + i=0; while(1) { m_task_t task = NULL; int a; @@ -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); } @@ -235,7 +236,7 @@ void test_all(const char *platform_file,const char *application_file) MSG_launch_application(application_file); } MSG_main(); - printf("Simulation time %Lg\n",MSG_getClock()); + printf("Simulation time %g\n",MSG_getClock()); }