From 48973ba8d3021aebad4c09d60efe3cbde1f7d1ef Mon Sep 17 00:00:00 2001 From: mquinson Date: Sat, 27 Oct 2007 09:21:27 +0000 Subject: [PATCH] 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 --- src/surf/surf.c | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.20.1