X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96d281781f5a45598b4c1fa42fa2059d15d53c73..0433449947b08247ca57c84e32f547c35e351145:/src/mc/CommunicationDeterminismChecker.hpp diff --git a/src/mc/CommunicationDeterminismChecker.hpp b/src/mc/CommunicationDeterminismChecker.hpp index d23c95c42f..bd30d0435e 100644 --- a/src/mc/CommunicationDeterminismChecker.hpp +++ b/src/mc/CommunicationDeterminismChecker.hpp @@ -4,8 +4,14 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include +#include +#include +#include + #include "src/mc/mc_forward.hpp" #include "src/mc/Checker.hpp" +#include "src/mc/VisitedState.hpp" #ifndef SIMGRID_MC_COMMUNICATION_DETERMINISM_CHECKER_HPP #define SIMGRID_MC_COMMUNICATION_DETERMINISM_CHECKER_HPP @@ -13,14 +19,20 @@ namespace simgrid { namespace mc { -class CommunicationDeterminismChecker : public Checker { +class XBT_PRIVATE CommunicationDeterminismChecker : public Checker { public: CommunicationDeterminismChecker(Session& session); ~CommunicationDeterminismChecker(); int run() override; + RecordTrace getRecordTrace() override; + std::vector getTextualTrace() override; private: void prepare(); int main(); +private: + /** Stack representing the position in the exploration graph */ + std::list> stack_; + simgrid::mc::VisitedStates visitedStates_; }; #endif