- simgrid::config::declare_flag<bool>("cpu/maxmin-selective-update",
- "Update the constraint set propagating recursively to others constraints "
- "(off by default unless optim is set to lazy)",
- "no");
- simgrid::config::declare_flag<bool>("network/maxmin-selective-update", "Update the constraint set propagating "
- "recursively to others constraints (off by "
- "default unless optim is set to lazy)",
- "no");
-
- simgrid::config::declare_flag<int>("contexts/stack-size", "Stack size of contexts in KiB (not with threads)",
- 8 * 1024, [](int value) { simgrid::kernel::context::stack_size = value * 1024; });
+ simgrid::config::Flag<bool> _sg_cpu_maxmin_selective_update{
+ "cpu/maxmin-selective-update",
+ "Update the constraint set propagating recursively to others constraints "
+ "(off by default unless optim is set to lazy)",
+ false};
+ simgrid::config::Flag<bool> _sg_network_maxmin_selective_update{"network/maxmin-selective-update",
+ "Update the constraint set propagating "
+ "recursively to others constraints (off by "
+ "default unless optim is set to lazy)",
+ false};
+
+ simgrid::config::Flag<int> _sg_context_stack_size{
+ "contexts/stack-size", "Stack size of contexts in KiB (not with threads)", 8 * 1024,
+ [](int value) { simgrid::kernel::context::stack_size = value * 1024; }};