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
dict --
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
79e74a2
..
dd6c06f
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-665,6
+665,7
@@
CpuTiAction::CpuTiAction(CpuTiModel *model_, double cost, bool failed, CpuTi *cp
: CpuAction(model_, cost, failed)
, cpu_(cpu)
{
: CpuAction(model_, cost, failed)
, cpu_(cpu)
{
+ indexHeap_ = -1;
cpu_->modified(true);
}
cpu_->modified(true);
}
@@
-750,10
+751,10
@@
void CpuTiAction::setMaxDuration(double duration)
XBT_OUT();
}
XBT_OUT();
}
-void CpuTiAction::set
Priority
(double priority)
+void CpuTiAction::set
SharingWeight
(double priority)
{
XBT_IN("(%p,%g)", this, priority);
{
XBT_IN("(%p,%g)", this, priority);
-
priority
_ = priority;
+
sharingWeight
_ = priority;
cpu_->modified(true);
XBT_OUT();
}
cpu_->modified(true);
XBT_OUT();
}