X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f23353a43b551cca580fbf043df1c38f5fb18d4..c46aba70aa4ccf22cc19fac31d451c7158e922dd:/src/surf/network_cm02.cpp diff --git a/src/surf/network_cm02.cpp b/src/surf/network_cm02.cpp index c545cf43f7..1f075189ca 100644 --- a/src/surf/network_cm02.cpp +++ b/src/surf/network_cm02.cpp @@ -398,7 +398,10 @@ Action *NetworkCm02Model::communicate(NetCard *src, NetCard *dst, XBT_DEBUG("Fullduplex active adding backward flow using 5%%"); for (auto link : *back_route) 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); } delete route;