projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix for broken treatment of promises + coherence based pruning to regain pruning...
[model-checker.git]
/
scanalysis.h
diff --git
a/scanalysis.h
b/scanalysis.h
index 3ad69e57023b074993083c4268c74aac0ec341c9..23d127bf686748d8b36589149e44384045e4ea1e 100644
(file)
--- a/
scanalysis.h
+++ b/
scanalysis.h
@@
-3,6
+3,13
@@
#include "traceanalysis.h"
#include "hashtable.h"
#include "traceanalysis.h"
#include "hashtable.h"
+struct sc_statistics {
+ unsigned long long elapsedtime;
+ unsigned int sccount;
+ unsigned int nonsccount;
+ unsigned long long actions;
+};
+
class SCAnalysis : public TraceAnalysis {
public:
SCAnalysis();
class SCAnalysis : public TraceAnalysis {
public:
SCAnalysis();
@@
-11,9
+18,12
@@
class SCAnalysis : public TraceAnalysis {
virtual void analyze(action_list_t *);
virtual const char * name();
virtual bool option(char *);
virtual void analyze(action_list_t *);
virtual const char * name();
virtual bool option(char *);
+ virtual void finish();
+
SNAPSHOTALLOC
private:
SNAPSHOTALLOC
private:
+ void update_stats();
void print_list(action_list_t *list);
int buildVectors(action_list_t *);
bool updateConstraints(ModelAction *act);
void print_list(action_list_t *list);
int buildVectors(action_list_t *);
bool updateConstraints(ModelAction *act);
@@
-35,5
+45,8
@@
class SCAnalysis : public TraceAnalysis {
ModelExecution *execution;
bool print_always;
bool print_buggy;
ModelExecution *execution;
bool print_always;
bool print_buggy;
+ bool print_nonsc;
+ bool time;
+ struct sc_statistics *stats;
};
#endif
};
#endif