X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scanalysis.h;h=e8afc18949aaa1b25b931bcfd46f42a5225fde72;hb=6070a45c81428a5e09909d4beb325150aefd0c52;hp=06fc2ed54d7cc0b04bd04071a2649895e4a4ef05;hpb=2cd228006768bd0a4e083616a5c6bda4e1fe3507;p=model-checker.git diff --git a/scanalysis.h b/scanalysis.h index 06fc2ed..e8afc18 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,12 @@ 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