X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9f97aeb3a3b0843cf7429cb586e4149636918e..41277cdd0f070ca921caf3678fbb7bf453a9543f:/include/simgrid/modelchecker.h diff --git a/include/simgrid/modelchecker.h b/include/simgrid/modelchecker.h index 0579ca6e2a..0b920bb913 100644 --- a/include/simgrid/modelchecker.h +++ b/include/simgrid/modelchecker.h @@ -16,8 +16,9 @@ #define SIMGRID_MODELCHECKER_H #include +#include /* size_t */ -#include /* HAVE_MC ? */ +#include /* SIMGRID_HAVE_MC ? */ #include @@ -25,16 +26,16 @@ SG_BEGIN_DECL() XBT_PUBLIC(int) MC_random(int min, int max); -#if HAVE_MC +#if SIMGRID_HAVE_MC /* Internal variable used to check if we're running under the MC * * Please don't use directly: you should use MC_is_active. */ extern XBT_PUBLIC(int) _sg_do_model_check; -extern XBT_PUBLIC(int) _sg_mc_visited; +extern XBT_PUBLIC(int) _sg_mc_max_visited_states; #define MC_is_active() _sg_do_model_check -#define MC_visited_reduction() _sg_mc_visited +#define MC_visited_reduction() _sg_mc_max_visited_states /** Assertion for the model-checker *