From: suter Date: Mon, 17 Dec 2012 14:42:08 +0000 (+0100) Subject: add more debugging info there. Nice to know what is the new value X-Git-Tag: v3_9_rc1~86^2~107^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0d3245b3e4f5440210358c5b7499379ee6aaa328 add more debugging info there. Nice to know what is the new value assigned to the link --- diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index a376717b38..b6460e0616 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -344,7 +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)", surf_resource_name(nw_link), nw_link); + XBT_DEBUG("Updating link %s (%p) with value=%f", + surf_resource_name(nw_link), nw_link, value); if (event_type == nw_link->bw_event) { nw_link->bw_current = value; lmm_update_constraint_bound(ptask_maxmin_system, nw_link->constraint,