projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Annotation Support
[model-checker.git]
/
scanalysis.h
diff --git
a/scanalysis.h
b/scanalysis.h
index 3ad69e57023b074993083c4268c74aac0ec341c9..988c8f75c13ad58f0fdfc44ebd3e936bb59601e1 100644
(file)
--- a/
scanalysis.h
+++ b/
scanalysis.h
@@
-3,6
+3,12
@@
#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;
+};
+
class SCAnalysis : public TraceAnalysis {
public:
SCAnalysis();
class SCAnalysis : public TraceAnalysis {
public:
SCAnalysis();
@@
-11,9
+17,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
+44,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