1 /* simgrid/modelchecker.h - Formal Verification made possible in SimGrid */
3 /* Copyright (c) 2008-2012. The SimGrid Team. All rights reserved. */
5 /* This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package. */
8 #include <simgrid_config.h> /* HAVE_MC ? */
11 #ifndef SIMGRID_MODELCHECKER_H
12 #define SIMGRID_MODELCHECKER_H
15 extern int _surf_do_model_check;
16 #define MC_IS_ENABLED _surf_do_model_check
18 #define MC_IS_ENABLED 0
22 XBT_PUBLIC(void) MC_assert(int);
23 XBT_PUBLIC(void) MC_assert_stateful(int);
24 XBT_PUBLIC(int) MC_random(int min, int max);
25 XBT_PUBLIC(void) MC_diff();
27 #endif /* SIMGRID_MODELCHECKER_H */