X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd26d1201071250f4cd4c99201c503d17c2bc1a4..a413f81990af8e4b725d3eb6712b885789a5121e:/src/surf/surf.c diff --git a/src/surf/surf.c b/src/surf/surf.c index 254fa765f9..335351e2fe 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -418,6 +418,11 @@ void surf_init(int *argc, char **argv) if (!history) history = tmgr_history_new(); +#ifdef HAVE_TRACING + TRACE_add_start_function(TRACE_surf_alloc); + TRACE_add_end_function(TRACE_surf_release); +#endif + sg_config_init(argc, argv); surf_action_init();