X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38f246c4c46920a78ea0af8233449f402c178f04..872cf95ab5a2b08aa1f2c6ebba29b9f86b0ba54e:/src/surf/network_smpi.cpp diff --git a/src/surf/network_smpi.cpp b/src/surf/network_smpi.cpp index 4fcd646267..02d6a00d80 100644 --- a/src/surf/network_smpi.cpp +++ b/src/surf/network_smpi.cpp @@ -1,16 +1,15 @@ -/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "network_smpi.hpp" -#include "simgrid/kernel/routing/NetZoneImpl.hpp" -#include "simgrid/s4u/Engine.hpp" +#include +#include + #include "simgrid/sg_config.hpp" #include "smpi_utils.hpp" #include "src/kernel/EngineImpl.hpp" -#include "src/surf/surf_interface.hpp" -#include "surf/surf.hpp" +#include "src/surf/network_smpi.hpp" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(res_network); @@ -40,9 +39,7 @@ void surf_network_model_init_SMPI() simgrid::config::set_default("network/weight-S", 8775); } -namespace simgrid { -namespace kernel { -namespace resource { +namespace simgrid::kernel::resource { void NetworkSmpiModel::check_lat_factor_cb() { @@ -97,6 +94,4 @@ double NetworkSmpiModel::get_latency_factor(double size) return current; } -} // namespace resource -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::resource