From: Arnaud Legrand Date: Mon, 4 Feb 2013 13:00:12 +0000 (+0100) Subject: Additionnal information never hurt. X-Git-Tag: v3_9_90~510^2~59 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1667fc9ed6a8015960b8a258f8177345d23b4d3a Additionnal information never hurt. --- diff --git a/src/surf/surf.c b/src/surf/surf.c index 335351e2fe..6b03d70cc4 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -612,7 +612,7 @@ double surf_solve(double max_date) if ((min == -1.0) || (next_event_date > NOW + min)) break; - XBT_DEBUG("Updating models"); + XBT_DEBUG("Updating models (min = %g, NOW = %g, next_event_date = %g)",min, NOW, next_event_date); while ((event = tmgr_history_get_next_event_leq(history, next_event_date, &value, diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index 183c3053f1..d689f687b2 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -344,8 +344,8 @@ static void ptask_update_resource_state(void *id, link_L07_t nw_link = id; if (nw_link->type == SURF_WORKSTATION_RESOURCE_LINK) { - XBT_DEBUG("Updating link %s (%p) with value=%f", - surf_resource_name(nw_link), nw_link, value); + XBT_DEBUG("Updating link %s (%p) with value=%f for date=%g", + surf_resource_name(nw_link), nw_link, value, date); if (event_type == nw_link->bw_event) { nw_link->bw_current = value; lmm_update_constraint_bound(ptask_maxmin_system, nw_link->constraint,