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
refactor: be explicit on what an action's priority is
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
79e74a2
..
9173e1d
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-750,10
+750,10
@@
void CpuTiAction::setMaxDuration(double duration)
XBT_OUT();
}
-void CpuTiAction::set
Priority
(double priority)
+void CpuTiAction::set
SharingWeight
(double priority)
{
XBT_IN("(%p,%g)", this, priority);
-
priority
_ = priority;
+
sharingWeight
_ = priority;
cpu_->modified(true);
XBT_OUT();
}