X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1a39cc6fdc908c33507b5b0f8bae61f7286fd4ca..aa4388c7780ebcbc130f17b5e473f4d356ec567f:/src/simix/smx_global.c diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index c4a79957bd..1d958a53bf 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -74,6 +74,11 @@ void SIMIX_global_init(int *argc, char **argv) simix_global->kill_process_function = NULL; simix_global->cleanup_process_function = SIMIX_process_cleanup; + simix_global->msg_sizes = xbt_dict_new(); +#ifdef HAVE_LATENCY_BOUND_TRACKING + simix_global->latency_limited_dict = xbt_dict_new(); +#endif + SIMIX_context_mod_init(); SIMIX_create_maestro_process(); @@ -262,6 +267,11 @@ void SIMIX_clean(void) xbt_dict_free(&(simix_global->registered_functions)); xbt_dict_free(&(simix_global->host)); + xbt_dict_free(&(simix_global->msg_sizes)); +#ifdef HAVE_LATENCY_BOUND_TRACKING + xbt_dict_free(&(simix_global->latency_limited_dict)); +#endif + /* Let's free maestro now */ SIMIX_context_free(simix_global->maestro_process->context); xbt_free(simix_global->maestro_process->exception);