- /* Simulation setting */
- MSG_set_channel_number(MAX_CHANNEL);
- MSG_paje_output("msg_test.trace");
- surf_parse = surf_parse_bypass_platform;
- MSG_create_environment(NULL);
-
- /* Application deployment */
- MSG_function_register("master", master);
- MSG_function_register("slave", slave);
- surf_parse = surf_parse_bypass_application;
- MSG_launch_application(NULL);
-
- res = MSG_main();
-
- INFO1("Simulation time %g",MSG_get_clock());
+ /* Simulation setting */
+ MSG_set_channel_number(MAX_CHANNEL);
+ surf_parse = surf_parse_bypass_platform;
+ MSG_create_environment(NULL);
+
+ /* Application deployment */
+ MSG_function_register("master", master);
+ MSG_function_register("slave", slave);
+ surf_parse = surf_parse_bypass_application;
+ MSG_launch_application(NULL);
+
+ res = MSG_main();
+
+ INFO1("Simulation time %g", MSG_get_clock());