X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49514a74128a35ed4c0ba6dc190d70d35dd9fd7a..50b36cfb6864e719576327d1289cf9ba31d652da:/src/mc/mc_record.h diff --git a/src/mc/mc_record.h b/src/mc/mc_record.h index 32577039d0..3ea2d77dff 100644 --- a/src/mc/mc_record.h +++ b/src/mc/mc_record.h @@ -20,16 +20,9 @@ #include #include "simgrid_config.h" -#include "mc_record.h" SG_BEGIN_DECL() -/** Replay path (if any) in string representation - * - * This is a path as generated by `MC_record_stack_to_string()`. - */ -extern char* MC_record_path; - /** Whether the MC record mode is enabled * * The behaviour is not changed. The only real difference is that @@ -37,11 +30,6 @@ extern char* MC_record_path; */ #define MC_record_is_active() _sg_do_model_check_record -/** Whether the replay mode is enabled */ -static inline bool MC_record_replay_is_active(void) { - return MC_record_path; -} - // **** Data conversion /** An element in the recorded path @@ -88,6 +76,8 @@ void MC_record_replay(mc_record_item_t start, size_t count); */ void MC_record_replay_from_string(const char* data); +void MC_record_replay_init(void); + SG_END_DECL() #endif