X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f7a5c8e0a953c249ec8ba1574ce3949926e4ac30..3bf26d5f8bcf8154aff251b7dca4174468e0971e:/src/msg/global.c diff --git a/src/msg/global.c b/src/msg/global.c index bee130881d..7629d66454 100644 --- a/src/msg/global.c +++ b/src/msg/global.c @@ -80,6 +80,9 @@ void MSG_global_init(int *argc, char **argv) SIMIX_function_register_process_cleanup(__MSG_process_cleanup); SIMIX_function_register_process_kill(_MSG_process_kill_from_SIMIX); } +#ifdef HAVE_TRACING + TRACE_start(); +#endif } /** \defgroup m_channel_management Understanding channels @@ -214,6 +217,10 @@ MSG_error_t MSG_clean(void) SIMIX_clean(); +#ifdef HAVE_TRACING + TRACE_end(); +#endif + return MSG_OK; }