X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4aabf1133bae287cd37f9b9829a724a1bef2be53..ba9a4cfeba4eb00e84cd17603fc9654e81445655:/src/surf/network_cm02.cpp?ds=sidebyside diff --git a/src/surf/network_cm02.cpp b/src/surf/network_cm02.cpp index c866290c1d..64ba10d033 100644 --- a/src/surf/network_cm02.cpp +++ b/src/surf/network_cm02.cpp @@ -419,7 +419,9 @@ Action *NetworkCm02Model::communicate(NetCard *src, NetCard *dst, link = static_cast(_link); lmm_expand(p_maxminSystem, link->getConstraint(), action->getVariable(), .05); } - lmm_variable_concurrency_share_set(action->getVariable(),2); + //Change concurrency_share here, if you want that cross-traffic is included in the SURF concurrency + //(You would also have to change lmm_element_concurrency()) + //lmm_variable_concurrency_share_set(action->getVariable(),2); } xbt_dynar_free(&route);