X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scanalysis.h;h=0cd2d67e704d942c93fdf93404c8d63010e490ed;hb=49e01b46a51804ca1aef3e4c260d832b38d40bdc;hp=06fc2ed54d7cc0b04bd04071a2649895e4a4ef05;hpb=2cd228006768bd0a4e083616a5c6bda4e1fe3507;p=model-checker.git diff --git a/scanalysis.h b/scanalysis.h index 06fc2ed..0cd2d67 100644 --- a/scanalysis.h +++ b/scanalysis.h @@ -5,7 +5,7 @@ class SCAnalysis : public TraceAnalysis { public: - SCAnalysis(); + SCAnalysis(const ModelExecution *execution); ~SCAnalysis(); virtual void analyze(action_list_t *); @@ -18,10 +18,11 @@ class SCAnalysis : public TraceAnalysis { action_list_t * generateSC(action_list_t *); bool processRead(ModelAction *read, ClockVector *cv); ModelAction * getNextAction(); - bool merge(ClockVector * cv, const ModelAction * act, ClockVector *cv2); + bool merge(ClockVector *cv, const ModelAction *act, ClockVector *cv2); int maxthreads; - HashTable * cvmap; - HashTable * cycleset; - SnapVector * threadlists; + HashTable *cvmap; + HashTable *cycleset; + SnapVector *threadlists; + const ModelExecution *execution; }; #endif