From: mquinson Date: Sat, 27 Oct 2007 09:21:27 +0000 (+0000) Subject: Reset the clock to 0 in surf_exit so that it gets zeroed in MSG_clean for people... X-Git-Tag: v3.3~900 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/48973ba8d3021aebad4c09d60efe3cbde1f7d1ef?ds=sidebyside Reset the clock to 0 in surf_exit so that it gets zeroed in MSG_clean for people wanting to rerun simullations in the same setting (hello Pablo) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4902 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surf.c b/src/surf/surf.c index 92c0864912..46b0c8e5c6 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -417,6 +417,7 @@ void surf_exit(void) free(path_name); path_name = NULL; } + NOW=0; /* Just in case the user plans to restart the simulation afterward */ xbt_exit(); }