X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3077402227438e966045240807376dc6ee340bf0..11ce6b59ec29ed55d422a0c97a7d734ac1eb7a39:/src/mc/CommunicationDeterminismChecker.cpp diff --git a/src/mc/CommunicationDeterminismChecker.cpp b/src/mc/CommunicationDeterminismChecker.cpp index a817ff97a1..23c1d538eb 100644 --- a/src/mc/CommunicationDeterminismChecker.cpp +++ b/src/mc/CommunicationDeterminismChecker.cpp @@ -408,9 +408,9 @@ int CommunicationDeterminismChecker::main(void) simgrid::mc::State* state = stack_.back().get(); XBT_DEBUG("**************************************************"); - XBT_DEBUG("Exploration depth = %zi (state = %d, interleaved processes = %d)", + XBT_DEBUG("Exploration depth = %zi (state = %d, interleaved processes = %zd)", stack_.size(), state->num, - MC_state_interleave_size(state)); + state->interleaveSize()); /* Update statistics */ mc_stats->visited_states++; @@ -505,7 +505,7 @@ int CommunicationDeterminismChecker::main(void) while (!stack_.empty()) { std::unique_ptr state = std::move(stack_.back()); stack_.pop_back(); - if (MC_state_interleave_size(state.get()) + if (state->interleaveSize() && stack_.size() < (std::size_t) _sg_mc_max_depth) { /* We found a back-tracking point, let's loop */ XBT_DEBUG("Back-tracking to state %d at depth %zi",