]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/explo/DFSExplorer.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sthread: Add a way to verify accesses to non-reentrant data structures
[simgrid.git] / src / mc / explo / DFSExplorer.hpp
index 924484270ac73abaef523552081002cf8d71c7f2..8d63ca4e234a026a7e04ee17dac627e9aede8a1e 100644 (file)
@@ -20,7 +20,8 @@ class XBT_PRIVATE DFSExplorer : public Exploration {
   XBT_DECLARE_ENUM_CLASS(ReductionMode, none, dpor);
 
   ReductionMode reduction_mode_;
-  long backtrack_count_        = 0;
+  unsigned long backtrack_count_      = 0; // for statistics
+  unsigned long visited_states_count_ = 0; // for statistics
 
   static xbt::signal<void(RemoteApp&)> on_exploration_start_signal;
   static xbt::signal<void(RemoteApp&)> on_backtracking_signal;
@@ -83,7 +84,6 @@ public:
 private:
   void check_non_termination(const State* current_state);
   void backtrack();
-  bool sleep_set_reduction_ = true; 
 
   /** Stack representing the position in the exploration graph */
   std::list<std::unique_ptr<State>> stack_;