From 0d3245b3e4f5440210358c5b7499379ee6aaa328 Mon Sep 17 00:00:00 2001 From: suter Date: Mon, 17 Dec 2012 15:42:08 +0100 Subject: [PATCH] add more debugging info there. Nice to know what is the new value assigned to the link --- src/surf/workstation_ptask_L07.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.20.1