X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=scanalysis.h;h=047793045e63c954b03b775fd433738aaf8d08d7;hb=8f1efc30fb7e02d17c8f3183fbc5b227ec791c2f;hp=e8afc18949aaa1b25b931bcfd46f42a5225fde72;hpb=ecca9a3bfcfe77f1e6b53ff8cd57449f048bb629;p=model-checker.git diff --git a/scanalysis.h b/scanalysis.h index e8afc18..0477930 100644 --- a/scanalysis.h +++ b/scanalysis.h @@ -18,11 +18,15 @@ 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, const ModelAction *act2); + void check_rf(action_list_t *list); + int maxthreads; HashTable cvmap; - HashTable cycleset; + bool cyclic; + HashTable badrfset; + HashTable lastwrmap; SnapVector threadlists; const ModelExecution *execution; };