X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a65da81086e4cf5ad74b302b3e3be2fd23ebe99b..b32360d9877ce879eb7efcd5d5febf2a03e689cd:/src/surf/cpu_ti.c diff --git a/src/surf/cpu_ti.c b/src/surf/cpu_ti.c index 54e8834c56..e8839ddbd4 100644 --- a/src/surf/cpu_ti.c +++ b/src/surf/cpu_ti.c @@ -597,8 +597,8 @@ static void update_actions_state(double now, double delta) 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); + 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;