A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset the clock to 0 in surf_exit so that it gets zeroed in MSG_clean for people...
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
92c0864
..
46b0c8e
100644
(file)
--- 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();
}