X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d098dd9e12ee321b061421f535b2b56ce7691673..30e424f828536f2e59c0175b482e6e5480fe7fdd:/src/mc/mc_state.h?ds=sidebyside diff --git a/src/mc/mc_state.h b/src/mc/mc_state.h index 8ab1b11fa5..93b350ffee 100644 --- a/src/mc/mc_state.h +++ b/src/mc/mc_state.h @@ -8,6 +8,7 @@ #define SIMGRID_MC_STATE_H #include +#include #include #include "src/simix/smx_private.h" @@ -46,7 +47,7 @@ typedef struct XBT_PRIVATE mc_state { s_smx_simcall_t executed_req; /* The executed request of the state */ int req_num; /* The request number (in the case of a multi-request like waitany ) */ - mc_snapshot_t system_state; /* Snapshot of system state */ + simgrid::mc::Snapshot* system_state; /* Snapshot of system state */ int num; int in_visited_states; // comm determinism verification (xbt_dynar_t): @@ -67,4 +68,12 @@ XBT_PRIVATE void MC_state_remove_interleave_process(mc_state_t state, smx_proces SG_END_DECL() +namespace simgrid { +namespace mc { + +XBT_PRIVATE int snapshot_compare(mc_state_t state1, mc_state_t state2); + +} +} + #endif