From: Frederic Suter Date: Wed, 16 May 2018 14:29:20 +0000 (+0200) Subject: this should allow the tracing of resource usage with this model X-Git-Tag: v3.20~219 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d883ac7f9b2786862be1fcb700193f66ceecc030?hp=612ee16a751800aa1dd996ee512fa38adcfe001d this should allow the tracing of resource usage with this model --- diff --git a/src/surf/ptask_L07.cpp b/src/surf/ptask_L07.cpp index 804119c1e2..2a2b54afa6 100644 --- a/src/surf/ptask_L07.cpp +++ b/src/surf/ptask_L07.cpp @@ -94,6 +94,7 @@ void HostL07Model::update_actions_state(double /*now*/, double delta) if ((action.latency_ <= 0.0) && (action.is_suspended() == 0)) { action.updateBound(); get_maxmin_system()->update_variable_weight(action.get_variable(), 1.0); + action.set_last_update(); } } XBT_DEBUG("Action (%p) : remains (%g) updated by %g.", &action, action.get_remains(),