X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3b68ec95a7648e14307f1d31699c14532cfd86ee..172a73b13fe909117c7fbf3d69d4ce5e87efdbc6:/src/simgrid/sg_config.cpp diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 5bc246a2af..752cf85455 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -6,23 +6,22 @@ /* sg_config: configuration infrastructure for the simulation world */ -#include "xbt/misc.h" -#include "xbt/config.h" -#include "xbt/config.hpp" -#include "xbt/log.h" -#include "xbt/mallocator.h" -#include "xbt/str.h" -#include "xbt/sysdep.h" -#include "surf/surf.h" -#include "surf/maxmin.h" -#include "instr/instr_interface.h" -#include "simgrid/simix.h" #include "simgrid/sg_config.h" -#include "simgrid_config.h" /* what was compiled in? */ +#include "instr/instr_interface.h" #include "mc/mc.h" #include "simgrid/instr.h" +#include "simgrid/simix.h" +#include "simgrid_config.h" /* what was compiled in? */ #include "src/mc/mc_replay.h" #include "src/surf/surf_interface.hpp" +#include "surf/maxmin.hpp" +#include "surf/surf.h" +#include "xbt/config.h" +#include "xbt/config.hpp" +#include "xbt/log.h" +#include "xbt/mallocator.h" +#include "xbt/misc.h" +#include "xbt/sysdep.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_config, surf, "About the configuration of SimGrid"); @@ -341,11 +340,6 @@ void sg_config_init(int *argc, char **argv) /* The parameters of network models */ - // real default for "network/sender-gap" is set in network_smpi.cpp: - sg_sender_gap = NAN; - simgrid::config::bindFlag(sg_sender_gap, {"network/sender-gap", "network/sender_gap"}, - "Minimum gap between two overlapping sends"); - sg_latency_factor = 13.01; // comes from the default LV08 network model simgrid::config::bindFlag(sg_latency_factor, {"network/latency-factor", "network/latency_factor"}, "Correction factor to apply to the provided latency (default value set by network model)");