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
Include simgrid_config.h before stdio.h to define _GNU_SOURCE if needed.
[simgrid.git]
/
src
/
mc
/
mc_private.h
diff --git
a/src/mc/mc_private.h
b/src/mc/mc_private.h
index
02aa05a
..
2aa95d5
100644
(file)
--- a/
src/mc/mc_private.h
+++ b/
src/mc/mc_private.h
@@
-6,6
+6,7
@@
#ifndef MC_PRIVATE_H
#define MC_PRIVATE_H
#ifndef MC_PRIVATE_H
#define MC_PRIVATE_H
+#include "simgrid_config.h"
#include <stdio.h>
#include <sys/mman.h>
#include "mc/mc.h"
#include <stdio.h>
#include <sys/mman.h>
#include "mc/mc.h"
@@
-41,6
+42,7
@@
void MC_take_snapshot_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);
+
/********************************* MC Global **********************************/
extern double *mc_time;
/********************************* MC Global **********************************/
extern double *mc_time;
@@
-150,7
+152,9
@@
struct mstats {
};
#define MC_SET_RAW_MEM mmalloc_set_current_heap(raw_heap)
};
#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)
+
+extern int raw_mem_set;
/******************************* MEMORY MAPPINGS ***************************/
/* These functions and data structures implements a binary interface for */
/******************************* MEMORY MAPPINGS ***************************/
/* These functions and data structures implements a binary interface for */
@@
-244,8
+248,6
@@
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);
@@
-279,5
+281,9
@@
extern xbt_fifo_t mc_stack_safety;
extern int _surf_mc_checkpoint;
extern char* _surf_mc_property_file;
extern int _surf_mc_checkpoint;
extern char* _surf_mc_property_file;
+/****** Core dump ******/
+
+int create_dump(int pair);
+
#endif
#endif