- xbt_cfg_register_double("network/sender_gap", NAN, _sg_cfg_cb__sender_gap,
- "Minimum gap between two overlapping sends"); /* real default for "network/sender_gap" is set in network_smpi.cpp */
- xbt_cfg_register_double("network/latency_factor", 1.0, _sg_cfg_cb__latency_factor,
- "Correction factor to apply to the provided latency (default value set by network model)");
- xbt_cfg_register_double("network/bandwidth_factor", 1.0, _sg_cfg_cb__bandwidth_factor, "Correction factor to apply to the provided bandwidth (default value set by network model)");
- xbt_cfg_register_double("network/weight_S", NAN, _sg_cfg_cb__weight_S, /* real default for "network/weight_S" is set in network_*.cpp */
- "Correction factor to apply to the weight of competing streams (default value set by network model)");
+ // real default for "network/sender-gap" is set in network_smpi.cpp:
+ simgrid::config::bindFlag(sg_sender_gap = NAN,
+ { "network/sender-gap", "network/sender_gap" },
+ "Minimum gap between two overlapping sends");
+ simgrid::config::bindFlag(sg_latency_factor = 1.0,
+ { "network/latency-factor", "network/latency_factor" },
+ "Correction factor to apply to the provided latency (default value set by network model)");
+ simgrid::config::bindFlag(sg_bandwidth_factor = 1.0,
+ { "network/bandwidth-factor", "network/bandwidth_factor" },
+ "Correction factor to apply to the provided bandwidth (default value set by network model)");
+ // real default for "network/weight-S" is set in network_*.cpp:
+ simgrid::config::bindFlag(sg_weight_S_parameter = NAN,
+ { "network/weight-S", "network/weight_S" },
+ "Correction factor to apply to the weight of competing streams (default value set by network model)");