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
Rename Action::priority into Action::sharing_penalty in surf as it should be
[simgrid.git]
/
src
/
surf
/
cpu_interface.cpp
diff --git
a/src/surf/cpu_interface.cpp
b/src/surf/cpu_interface.cpp
index
7342a03
..
76d5691
100644
(file)
--- a/
src/surf/cpu_interface.cpp
+++ b/
src/surf/cpu_interface.cpp
@@
-142,7
+142,7
@@
void CpuAction::update_remains_lazy(double now)
{
xbt_assert(get_state_set() == get_model()->get_started_action_set(),
"You're updating an action that is not running.");
- xbt_assert(get_
priori
ty() > 0, "You're updating an action that seems suspended.");
+ xbt_assert(get_
sharing_penal
ty() > 0, "You're updating an action that seems suspended.");
double delta = now - get_last_update();