X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4074a0a83ba4892a329b517e506dab40e3db462e..cadc6f2a1e9eea38f5b9cd5f148e1bc282c26981:/src/mc/LivenessChecker.hpp diff --git a/src/mc/LivenessChecker.hpp b/src/mc/LivenessChecker.hpp index 7ce79cea7f..f9def2168d 100644 --- a/src/mc/LivenessChecker.hpp +++ b/src/mc/LivenessChecker.hpp @@ -38,7 +38,7 @@ struct XBT_PRIVATE Pair { int depth = 0; bool exploration_started = false; - Pair(); + Pair(unsigned long expanded_pairs); ~Pair(); Pair(Pair const&) = delete; @@ -68,6 +68,7 @@ public: int run() override; RecordTrace getRecordTrace() override; std::vector getTextualTrace() override; + void logState() override; private: int main(); void prepare(); @@ -86,6 +87,9 @@ public: std::list> explorationStack_; std::list> acceptancePairs_; std::list> visitedPairs_; +private: + unsigned long visitedPairsCount_ = 0; + unsigned long expandedPairsCount_ = 0; }; }