X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/276cb878829b90c459527e9cc5649e662e8e3484..19cd5a52131b50275fa26e0e53c4a8bd333f2937:/src/surf/maxmin_private.hpp diff --git a/src/surf/maxmin_private.hpp b/src/surf/maxmin_private.hpp index c4e3f9cfc0..44fac8c50b 100644 --- a/src/surf/maxmin_private.hpp +++ b/src/surf/maxmin_private.hpp @@ -86,11 +86,13 @@ typedef struct lmm_variable { s_lmm_element_t *cnsts; int cnsts_size; int cnsts_number; + // sharing_weight: variable's impact on the resource during the sharing // if == 0, the variable is not considered by LMM // on CPU, actions with N threads have a sharing of N // on network, the actions with higher latency have a lesser sharing_weight - double sharing_weight; /* weight == 0 -> not considered by LMM; */ + double sharing_weight; + double staged_weight; /* If non-zero, variable is staged for addition as soon as maxconcurrency constraints will be met */ double bound; double value;