X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4de2a148bea34f550b79c07fb5e80ac36e6aa0e9..992bc1ec57d376cf14b124ea21b58b30f1e162f9:/src/surf/host_clm03.cpp diff --git a/src/surf/host_clm03.cpp b/src/surf/host_clm03.cpp index d7353cf68d..0005ed40b6 100644 --- a/src/surf/host_clm03.cpp +++ b/src/surf/host_clm03.cpp @@ -9,6 +9,7 @@ #include "simgrid/sg_config.hpp" #include "src/kernel/EngineImpl.hpp" +#include "src/kernel/resource/NetworkModel.hpp" #include "src/surf/host_clm03.hpp" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(res_host); @@ -32,9 +33,7 @@ void surf_host_model_init_compound() engine->get_netzone_root()->set_host_model(host_model); } -namespace simgrid { -namespace kernel { -namespace resource { +namespace simgrid::kernel::resource { double HostCLM03Model::next_occurring_event(double /*now*/) { @@ -101,6 +100,4 @@ Action* HostCLM03Model::execute_thread(const s4u::Host* host, double flops_amoun return cpu->execution_start(thread_count * flops_amount, thread_count, -1); } -} // namespace resource -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::resource