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
/
kernel
/
resource
/
Model.cpp
diff --git
a/src/kernel/resource/Model.cpp
b/src/kernel/resource/Model.cpp
index
635f0b9
..
6f392e4
100644
(file)
--- a/
src/kernel/resource/Model.cpp
+++ b/
src/kernel/resource/Model.cpp
@@
-52,7
+52,7
@@
double Model::next_occuring_event_lazy(double now)
continue;
/* bogus priority, skip it */
continue;
/* bogus priority, skip it */
- if (action->get_
priori
ty() <= 0 || action->get_type() == ActionHeap::Type::latency)
+ if (action->get_
sharing_penal
ty() <= 0 || action->get_type() == ActionHeap::Type::latency)
continue;
action->update_remains_lazy(now);
continue;
action->update_remains_lazy(now);