X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3c79423e7376662ff7bcfa809c4803564cf82acb..d5ec9cf45fa76b479c48a2a512dc6ce9fc40d89c:/src/gras/gras.c diff --git a/src/gras/gras.c b/src/gras/gras.c index d3b228847a..f58444c71c 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -17,6 +17,7 @@ #include "gras/core.h" #include "gras/cond.h" /* gras_if_RL() => FIXME: killme when gras/sg works */ #include "gras/process.h" /* FIXME: killme and put process_init in modinter */ +#include "gras/chrono.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras,XBT_LOG_ROOT_CAT,"All GRAS categories (cf. section \ref GRAS_API)"); static int gras_running_process = 0; @@ -28,7 +29,7 @@ void gras_init(int *argc,char **argv, const char *defaultlog) { /* First initialize the XBT */ xbt_init_defaultlog(argc,argv,defaultlog); - + gras_chrono_init(); /* module registrations: * - declare process specific data we need (without creating them) */ @@ -60,5 +61,6 @@ void gras_exit(void) { gras_trp_exit(); gras_datadesc_exit(); } + gras_chrono_exit(); xbt_exit(); }