X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aabd69e2ec25a7e7e1b6e3d7d86f531c42f4fca9..3622fe8cec33d2c4393be5ff35e6338d8e44472d:/src/mc/mc_record.cpp diff --git a/src/mc/mc_record.cpp b/src/mc/mc_record.cpp index 494f961248..32702eb70c 100644 --- a/src/mc/mc_record.cpp +++ b/src/mc/mc_record.cpp @@ -26,7 +26,7 @@ #include "src/mc/mc_private.h" #include "src/mc/mc_state.h" #include "src/mc/mc_smx.h" -#include "src/mc/mc_liveness.h" +#include "src/mc/LivenessChecker.hpp" #endif XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_record, mc, @@ -180,15 +180,12 @@ void MC_record_dump_path(xbt_fifo_t stack) void MC_record_replay_from_string(const char* path_string) { + simgrid::mc::processes_time.resize(simix_process_maxpid); xbt_dynar_t path = MC_record_from_string(path_string); mc_record_item_t start = &xbt_dynar_get_as(path, 0, s_mc_record_item_t); MC_record_replay(start, xbt_dynar_length(path)); xbt_dynar_free(&path); -} - -void MC_record_replay_init() -{ - simgrid::mc::processes_time.resize(simix_process_maxpid); + simgrid::mc::processes_time.clear(); } }