X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=scanalysis.h;h=047793045e63c954b03b775fd433738aaf8d08d7;hp=e8afc18949aaa1b25b931bcfd46f42a5225fde72;hb=71d6e3e2eaa2d8653fa4d9cf9dd57b745f07321d;hpb=b02e5f980b66f92801bc2e93db05940ac5ac7c5e 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; };