lmm_variable_new(model->getMaxminSystem(), this,
1.0, speed, 1))
{
- m_suspended = 0;
if (model->getUpdateMechanism() == UM_LAZY) {
m_indexHeap = -1;
m_lastUpdate = surf_get_clock();
CpuTi *cpu)
: CpuAction(model_, cost, failed)
{
- m_suspended = 0; /* Should be useless because of the
- calloc but it seems to help valgrind... */
p_cpu = cpu;
m_indexHeap = -1;
p_cpu->modified(true);
CpuTi *p_cpu;
int m_indexHeap;
- int m_suspended;
+ int m_suspended = 0;
public:
boost::intrusive::list_member_hook<> action_ti_hook;
};
XBT_DEBUG("Creating a parallel task (%p) with %d cpus and %d links.",
action, host_nb, nb_link);
- action->m_suspended = 0; /* valgrind seems to want it despite the calloc... */
action->p_computationAmount = flops_amount;
action->p_communicationAmount = bytes_amount;
action->m_latency = latency;
p_variable = var;
m_lastValue = 0;
m_lastUpdate = 0;
- m_suspended = false;
m_hat = NOTSET;
p_category = NULL;
p_stateHookup.prev = 0;
lmm_variable_t p_variable;
double m_lastValue;
double m_lastUpdate;
- int m_suspended;
+ int m_suspended = 0;
int m_indexHeap;
enum heap_action_type m_hat;
};