Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace memset(..., 0, ...) with zero-initialization.
[simgrid.git] / src / mc / mc_config.hpp
1 /* Copyright (c) 2018-2023. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef MC_CONFIG_HPP
7 #define MC_CONFIG_HPP
8
9 #include <xbt/config.hpp>
10
11 /********************************** Configuration of MC **************************************/
12 namespace simgrid::mc {
13 bool cfg_use_DPOR(); // "model-check/reduction" == "DPOR"
14 extern XBT_PUBLIC bool cfg_do_model_check;
15 };
16
17 extern XBT_PUBLIC simgrid::config::Flag<std::string> _sg_mc_buffering;
18 extern XBT_PRIVATE simgrid::config::Flag<int> _sg_mc_checkpoint;
19 extern XBT_PUBLIC simgrid::config::Flag<std::string> _sg_mc_property_file;
20 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_comms_determinism;
21 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_send_determinism;
22 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_unfolding_checker;
23 extern XBT_PRIVATE simgrid::config::Flag<bool> _sg_mc_timeout;
24 extern XBT_PRIVATE simgrid::config::Flag<int> _sg_mc_max_depth;
25 extern "C" XBT_PUBLIC int _sg_mc_max_visited_states;
26 extern XBT_PRIVATE simgrid::config::Flag<std::string> _sg_mc_dot_output_file;
27 extern XBT_PRIVATE simgrid::config::Flag<bool> _sg_mc_termination;
28 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_sleep_set;
29
30 #endif