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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
surf
/
cpu_cas01.cpp
diff --git
a/src/surf/cpu_cas01.cpp
b/src/surf/cpu_cas01.cpp
index
abc0385
..
c746e9a
100644
(file)
--- a/
src/surf/cpu_cas01.cpp
+++ b/
src/surf/cpu_cas01.cpp
@@
-384,9
+384,7
@@
CpuCas01Action::CpuCas01Action(ModelPtr model, double cost, bool failed, double
lmm_variable_new(model->getMaxminSystem(), static_cast<ActionPtr>(this),
1.0, power, 1))
{
lmm_variable_new(model->getMaxminSystem(), static_cast<ActionPtr>(this),
1.0, power, 1))
{
- m_suspended = 0; /* Should be useless because of the
- calloc but it seems to help valgrind... */
-
+ m_suspended = 0;
if (model->getUpdateMechanism() == UM_LAZY) {
m_indexHeap = -1;
m_lastUpdate = surf_get_clock();
if (model->getUpdateMechanism() == UM_LAZY) {
m_indexHeap = -1;
m_lastUpdate = surf_get_clock();