1 /* Copyright (c) 2008-2012. Da SimGrid Team. All rights reserved. */
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. */
12 #include "xbt/function_types.h"
13 #include "mc/datatypes.h"
14 #include "simgrid/simix.h"
15 #include "simgrid/modelchecker.h" /* our public interface (and definition of HAVE_MC) */
16 #include "xbt/automaton.h"
21 /********************************* Global *************************************/
22 XBT_PUBLIC(void) MC_init_safety_stateless(void);
23 XBT_PUBLIC(void) MC_init_safety_stateful(void);
24 XBT_PUBLIC(void) MC_exit(void);
25 XBT_PUBLIC(void) MC_exit_liveness(void);
26 XBT_PUBLIC(void) MC_modelcheck(void);
27 XBT_PUBLIC(void) MC_modelcheck_stateful(void);
28 XBT_PUBLIC(void) MC_modelcheck_liveness(xbt_automaton_t a, char *prgm);
29 XBT_PUBLIC(void) MC_process_clock_add(smx_process_t, double);
30 XBT_PUBLIC(double) MC_process_clock_get(smx_process_t);
32 /********************************* Memory *************************************/
33 XBT_PUBLIC(void) MC_memory_init(void); /* Initialize the memory subsystem */
34 XBT_PUBLIC(void) MC_memory_exit(void);