X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2613dece7ac1a22cb1edbed4e2803fc0a3e7db67..6a908b79ea45f85f305620c09375b72483b7eee9:/src/mc/mc_config.hpp diff --git a/src/mc/mc_config.hpp b/src/mc/mc_config.hpp index eaf2e20984..f411e7c706 100644 --- a/src/mc/mc_config.hpp +++ b/src/mc/mc_config.hpp @@ -11,7 +11,8 @@ /********************************** Configuration of MC **************************************/ namespace simgrid::mc { bool cfg_use_DPOR(); // "model-check/reduction" == "DPOR" -extern XBT_PUBLIC bool cfg_do_model_check; +XBT_DECLARE_ENUM_CLASS(ModelCheckingMode, NONE, APP_SIDE, CHECKER_SIDE, REPLAY); +extern XBT_PUBLIC ModelCheckingMode model_checking_mode; }; extern XBT_PUBLIC simgrid::config::Flag _sg_mc_buffering; @@ -26,5 +27,8 @@ extern "C" XBT_PUBLIC int _sg_mc_max_visited_states; extern XBT_PRIVATE simgrid::config::Flag _sg_mc_dot_output_file; extern XBT_PRIVATE simgrid::config::Flag _sg_mc_termination; extern XBT_PUBLIC simgrid::config::Flag _sg_mc_sleep_set; +extern XBT_PUBLIC simgrid::config::Flag _sg_mc_guided; + + #endif