Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'udpor-phase6' into 'master'
[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 XBT_DECLARE_ENUM_CLASS(ModelCheckingMode, NONE, APP_SIDE, CHECKER_SIDE, REPLAY);
15 extern XBT_PUBLIC ModelCheckingMode model_checking_mode;
16 };
17
18 extern XBT_PUBLIC simgrid::config::Flag<std::string> _sg_mc_buffering;
19 extern XBT_PRIVATE simgrid::config::Flag<int> _sg_mc_checkpoint;
20 extern XBT_PUBLIC simgrid::config::Flag<std::string> _sg_mc_property_file;
21 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_comms_determinism;
22 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_send_determinism;
23 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_unfolding_checker;
24 extern XBT_PRIVATE simgrid::config::Flag<bool> _sg_mc_timeout;
25 extern XBT_PRIVATE simgrid::config::Flag<int> _sg_mc_max_depth;
26 extern "C" XBT_PUBLIC int _sg_mc_max_visited_states;
27 extern XBT_PRIVATE simgrid::config::Flag<std::string> _sg_mc_dot_output_file;
28 extern XBT_PRIVATE simgrid::config::Flag<bool> _sg_mc_termination;
29 extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_sleep_set;
30
31 #endif