X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/633f3ab4f0f29940ea9759bfe3dc4f8ec37595e8..cb91af44a1bd7e5f331686df25d5fe80ff571a43:/src/mc/mc_private.h diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index 63097245db..09e8932ec1 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2011 Da SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2012 Da SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -19,7 +19,6 @@ #include "xbt/hash.h" #include "msg/msg.h" #include "msg/datatypes.h" -#include "simix/datatypes.h" /****************************** Snapshots ***********************************/ @@ -39,7 +38,6 @@ extern char *prog_name; void MC_take_snapshot(mc_snapshot_t); void MC_take_snapshot_liveness(mc_snapshot_t s); -void MC_take_snapshot_to_restore_liveness(mc_snapshot_t s); void MC_restore_snapshot(mc_snapshot_t); void MC_free_snapshot(mc_snapshot_t); @@ -139,7 +137,6 @@ void MC_print_statistics_pairs(mc_stats_pair_t); extern void *std_heap; extern void *raw_heap; -/* extern int raw_heap_fd; */ /* unused */ #define STD_HEAP_SIZE 20480000 /* Maximum size of the system's heap */ /* FIXME: Horrible hack! because the mmalloc library doesn't provide yet of */ @@ -174,11 +171,11 @@ typedef struct s_map_region { unsigned long inode; /* Inode in the device */ char *pathname; /* Path name of the mapped file */ -} s_map_region; +} s_map_region_t; typedef struct s_memory_map { - s_map_region *regions; /* Pointer to an array of regions */ + s_map_region_t *regions; /* Pointer to an array of regions */ int mapsize; /* Number of regions in the memory */ } s_memory_map_t, *memory_map_t; @@ -256,6 +253,8 @@ void set_pair_reached(xbt_state_t st); int reached_hash(xbt_state_t st); void set_pair_reached_hash(xbt_state_t st); int snapshot_compare(mc_snapshot_t s1, mc_snapshot_t s2); +int data_program_region_compare(void *d1, void *d2, size_t size); +int data_libsimgrid_region_compare(void *d1, void *d2, size_t size); void MC_pair_delete(mc_pair_t pair); void MC_exit_liveness(void); mc_state_t MC_state_pair_new(void);