bug fix with missing coherence condition for promises
[model-checker.git] / scanalysis.h
index d68f4c114f43d71fdd646ec945861d701182cc39..23d127bf686748d8b36589149e44384045e4ea1e 100644 (file)
@@ -5,6 +5,9 @@
 
 struct sc_statistics {
        unsigned long long elapsedtime;
+       unsigned int sccount;
+       unsigned int nonsccount;
+       unsigned long long actions;
 };
 
 class SCAnalysis : public TraceAnalysis {
@@ -20,6 +23,7 @@ class SCAnalysis : public TraceAnalysis {
 
        SNAPSHOTALLOC
  private:
+       void update_stats();
        void print_list(action_list_t *list);
        int buildVectors(action_list_t *);
        bool updateConstraints(ModelAction *act);
@@ -41,6 +45,7 @@ class SCAnalysis : public TraceAnalysis {
        ModelExecution *execution;
        bool print_always;
        bool print_buggy;
+       bool print_nonsc;
        bool time;
        struct sc_statistics *stats;
 };