A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model-checker : new comparison of region (program data and libsimgrid data)
[simgrid.git]
/
src
/
mc
/
mc_private.h
diff --git
a/src/mc/mc_private.h
b/src/mc/mc_private.h
index 89ff69002ea7837156480dd8ccd947dc2f909067..9481343e5fc881336662e518daea4268330257f4 100644
(file)
--- a/
src/mc/mc_private.h
+++ b/
src/mc/mc_private.h
@@
-39,7
+39,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(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);
void MC_restore_snapshot(mc_snapshot_t);
void MC_free_snapshot(mc_snapshot_t);
@@
-139,7
+138,6
@@
void MC_print_statistics_pairs(mc_stats_pair_t);
extern void *std_heap;
extern void *raw_heap;
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 */
#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
+172,11
@@
typedef struct s_map_region {
unsigned long inode; /* Inode in the device */
char *pathname; /* Path name of the mapped file */
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 {
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;
int mapsize; /* Number of regions in the memory */
} s_memory_map_t, *memory_map_t;
@@
-256,6
+254,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 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);
void MC_pair_delete(mc_pair_t pair);
void MC_exit_liveness(void);
mc_state_t MC_state_pair_new(void);