X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f..6a908b79ea45f85f305620c09375b72483b7eee9:/src/mc/mc_config.hpp diff --git a/src/mc/mc_config.hpp b/src/mc/mc_config.hpp index 93392ef7b1..f411e7c706 100644 --- a/src/mc/mc_config.hpp +++ b/src/mc/mc_config.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2018-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,17 +9,26 @@ #include /********************************** Configuration of MC **************************************/ -extern "C" XBT_PUBLIC int _sg_do_model_check; +namespace simgrid::mc { +bool cfg_use_DPOR(); // "model-check/reduction" == "DPOR" +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; -extern XBT_PUBLIC simgrid::config::Flag _sg_mc_record_path; extern XBT_PRIVATE simgrid::config::Flag _sg_mc_checkpoint; extern XBT_PUBLIC simgrid::config::Flag _sg_mc_property_file; extern XBT_PUBLIC simgrid::config::Flag _sg_mc_comms_determinism; extern XBT_PUBLIC simgrid::config::Flag _sg_mc_send_determinism; +extern XBT_PUBLIC simgrid::config::Flag _sg_mc_unfolding_checker; extern XBT_PRIVATE simgrid::config::Flag _sg_mc_timeout; extern XBT_PRIVATE simgrid::config::Flag _sg_mc_max_depth; 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