-CpuTiActionPtr CpuTi::_execute(double size)
-{
- XBT_IN("(%s,%g)", m_name, size);
- CpuTiActionPtr action = new CpuTiAction(static_cast<CpuTiModelPtr>(p_model), size, p_stateCurrent != SURF_RESOURCE_ON);
-
- action->p_cpu = this;
- action->m_indexHeap = -1;
-
- xbt_swag_insert(this, cpu_ti_modified_cpu);
-
- xbt_swag_insert(action, p_actionSet);
-
- action->m_suspended = 0; /* Should be useless because of the
- ยป calloc but it seems to help valgrind... */