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
Move clock modification to the right location so that finish_time are correct...
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
45b1ab4
..
cbb8725
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-317,12
+317,12
@@
double surf_solve(void)
DEBUG1("Duration set to %f", min);
DEBUG1("Duration set to %f", min);
+ NOW = NOW + min;
+
xbt_dynar_foreach(resource_list, i, resource) {
resource->common_private->update_actions_state(NOW, min);
}
xbt_dynar_foreach(resource_list, i, resource) {
resource->common_private->update_actions_state(NOW, min);
}
- NOW = NOW + min;
-
return min;
}
return min;
}