X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8c7988580207b11a5d1b03fd892e1d68ad0788a3..8de466d0f03f18b22c6c36170b509d48a39fcd52:/src/surf/ptask_L07.cpp diff --git a/src/surf/ptask_L07.cpp b/src/surf/ptask_L07.cpp index b0a80bb863..0454e7a340 100644 --- a/src/surf/ptask_L07.cpp +++ b/src/surf/ptask_L07.cpp @@ -11,6 +11,7 @@ #include "ptask_L07.hpp" #include "cpu_interface.hpp" +#include "xbt/config.hpp" #include "xbt/utility.hpp" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_host); @@ -400,7 +401,7 @@ void L07Action::updateBound() } } } - double lat_bound = sg_tcp_gamma / (2.0 * lat_current); + double lat_bound = NetworkModel::cfg_tcp_gamma / (2.0 * lat_current); XBT_DEBUG("action (%p) : lat_bound = %g", this, lat_bound); if ((latency_ <= 0.0) && (suspended_ == Action::SuspendStates::not_suspended)) { if (rate_ < 0)