lmm_update_variable_weight(cpu_im_maxmin_system,
((surf_action_lmm_t) action)->variable, 0.0);
((surf_action_lmm_t) action)->suspended = 1;
+ xbt_heap_remove(action_heap,
+ ((surf_action_cpu_Cas01_im_t) action)->index_heap);
xbt_swag_insert(ACTION_GET_CPU(action), modified_cpu);
}
XBT_OUT;
cpu->sum_priority = sum_priority;
xbt_swag_foreach(action, cpu->action_set) {
+ min_finish = -1;
/* action not running, skip it */
if (GENERIC_ACTION(action).state_set !=
surf_cpu_model->states.running_action_set)
XBT_IN1("(%p)", action);
if (((surf_action_cpu_ti_t) action)->suspended != 2) {
((surf_action_cpu_ti_t) action)->suspended = 1;
+ xbt_heap_remove(action_heap, ((surf_action_cpu_ti_t) action)->index_heap);
xbt_swag_insert(ACTION_GET_CPU(action), modified_cpu);
}
XBT_OUT;