X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/984b8e1616cfd626c6244a34ccd42ee0b1e89bcd..c0dc66a3644be860680e6df4092484c522e59d40:/src/mc/mc_private.h diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index 77d842da75..01ad368609 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -150,7 +150,9 @@ struct mstats { }; #define MC_SET_RAW_MEM mmalloc_set_current_heap(raw_heap) -#define MC_UNSET_RAW_MEM mmalloc_set_current_heap(std_heap) +#define MC_UNSET_RAW_MEM mmalloc_set_current_heap(std_heap) + +int raw_mem_set; /******************************* MEMORY MAPPINGS ***************************/ /* These functions and data structures implements a binary interface for */ @@ -182,6 +184,12 @@ memory_map_t get_memory_map(void); /********************************** DPOR for safety **************************************/ +typedef enum { + e_mc_reduce_unset, + e_mc_reduce_none, + e_mc_reduce_dpor +} e_mc_reduce_t; +extern e_mc_reduce_t mc_reduce_kind; void MC_dpor_init(void); void MC_dpor(void); @@ -268,9 +276,10 @@ void MC_dump_stack_liveness(xbt_fifo_t stack); void MC_pair_stateless_delete(mc_pair_stateless_t pair); /********************************** Configuration of MC **************************************/ - -extern int _surf_do_mc_checkpoint; extern xbt_fifo_t mc_stack_safety; +extern int _surf_mc_checkpoint; +extern char* _surf_mc_property_file; + #endif