Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] C++ification of State
[simgrid.git] / src / mc / mc_safety.h
1 /* Copyright (c) 2007-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_MC_SAFETY_H
8 #define SIMGRID_MC_SAFETY_H
9
10 #include <stdint.h>
11
12 #include <vector>
13 #include <memory>
14
15 #include <simgrid_config.h>
16
17 #include <xbt/base.h>
18 #include <xbt/dynar.h>
19
20 #include "src/mc/mc_forward.hpp"
21 #include "src/mc/mc_state.h"
22
23 namespace simgrid {
24 namespace mc {
25
26 enum class ReductionMode {
27   unset,
28   none,
29   dpor,
30 };
31
32 extern XBT_PRIVATE simgrid::mc::ReductionMode reduction_mode;
33
34 }
35 }
36
37 #endif