X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2d98a6a519abb6a9799c26bb4a87225936944c42..02ae829468d448fedc59be33dfd8b6d829b77ad6:/src/surf/maxmin.c diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index e7d3e181f3..eb9de6d04a 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -26,6 +26,8 @@ static void lmm_remove_all_modified_set(lmm_system_t sys); int sg_maxmin_selective_update = 1; static int Global_debug_id = 1; static int Global_const_debug_id = 1; +extern xbt_swag_t keep_track; + lmm_system_t lmm_system_new(void) { lmm_system_t l = NULL; @@ -540,6 +542,9 @@ void lmm_solve(lmm_system_t sys) cnst->usage = elem->value / elem->variable->weight; make_elem_active(elem); + if(keep_track){ + xbt_swag_insert((elem->variable)->id, keep_track); + } } } DEBUG2("Constraint Usage '%d' : %f", cnst->id_int, cnst->usage);