Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Create mc_config.hpp for MC's configuration stuff.
[simgrid.git] / src / mc / mc_config.hpp
1 /* Copyright (c) 2018. 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 /********************************** Configuration of MC **************************************/
10 extern "C" XBT_PUBLIC int _sg_do_model_check;
11 extern XBT_PRIVATE int _sg_do_model_check_record;
12 extern XBT_PRIVATE int _sg_mc_checkpoint;
13 extern XBT_PUBLIC int _sg_mc_sparse_checkpoint;
14 extern XBT_PUBLIC int _sg_mc_ksm;
15 extern XBT_PRIVATE int _sg_mc_timeout;
16 extern XBT_PRIVATE int _sg_mc_hash;
17 extern XBT_PRIVATE int _sg_mc_max_depth;
18 extern "C" XBT_PUBLIC int _sg_mc_max_visited_states;
19 extern XBT_PUBLIC int _sg_mc_comms_determinism;
20 extern XBT_PUBLIC int _sg_mc_send_determinism;
21 extern XBT_PRIVATE int _sg_mc_snapshot_fds;
22 extern XBT_PRIVATE int _sg_mc_termination;
23
24 XBT_PRIVATE void _mc_cfg_cb_reduce(const char* name);
25 XBT_PRIVATE void _mc_cfg_cb_checkpoint(const char* name);
26 XBT_PRIVATE void _mc_cfg_cb_sparse_checkpoint(const char* name);
27 XBT_PRIVATE void _mc_cfg_cb_ksm(const char* name);
28 XBT_PRIVATE void _mc_cfg_cb_property(const char* name);
29 XBT_PRIVATE void _mc_cfg_cb_timeout(const char* name);
30 XBT_PRIVATE void _mc_cfg_cb_snapshot_fds(const char* name);
31 XBT_PRIVATE void _mc_cfg_cb_hash(const char* name);
32 XBT_PRIVATE void _mc_cfg_cb_max_depth(const char* name);
33 XBT_PRIVATE void _mc_cfg_cb_visited(const char* name);
34 XBT_PRIVATE void _mc_cfg_cb_dot_output(const char* name);
35 XBT_PRIVATE void _mc_cfg_cb_comms_determinism(const char* name);
36 XBT_PRIVATE void _mc_cfg_cb_send_determinism(const char* name);
37 XBT_PRIVATE void _mc_cfg_cb_termination(const char* name);
38
39 #endif