X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a1b9570ff3273725b1843dfadc6c13d229ac3dbb..1d4461b3c05d8f19d40b4aa29f86cb4fa8c80e58:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 6f92d0fdab..6c9f390148 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -183,8 +183,16 @@ int main(int argc, char **argv) "Minimal computation time (in seconds) not discarded.", xbt_cfgelm_double, &default_threshold, 1, 1, NULL, NULL); +#ifdef HAVE_TRACING + TRACE_global_init (&argc, argv); +#endif + SIMIX_global_init(&argc, argv); +#ifdef HAVE_TRACING + TRACE_smpi_start (); +#endif + // parse the platform file: get the host list SIMIX_create_environment(argv[1]); @@ -212,6 +220,10 @@ int main(int argc, char **argv) SIMIX_message_sizes_output("toto.txt"); +#ifdef HAVE_TRACING + TRACE_smpi_end (); +#endif + SIMIX_clean(); return 0; }