git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6662
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
surf_action_cpu_ti_t action;
while ((xbt_heap_size(action_heap) > 0)
&& (xbt_heap_maxkey(action_heap) <= now)) {
surf_action_cpu_ti_t action;
while ((xbt_heap_size(action_heap) > 0)
&& (xbt_heap_maxkey(action_heap) <= now)) {
- DEBUG1("Action %p: finish", action);
action = xbt_heap_pop(action_heap);
action = xbt_heap_pop(action_heap);
+ DEBUG1("Action %p: finish", action);
GENERIC_ACTION(action).finish = surf_get_clock();
/* set the remains to 0 due to precision problems when updating the remaining amount */
GENERIC_ACTION(action).remains = 0;
GENERIC_ACTION(action).finish = surf_get_clock();
/* set the remains to 0 due to precision problems when updating the remaining amount */
GENERIC_ACTION(action).remains = 0;