scanalysis: fixup spacing
[c11tester.git] / scanalysis.h
index f9db2db74693d4e4706dc08a2462d1e842f2bb3d..0cd2d67e704d942c93fdf93404c8d63010e490ed 100644 (file)
@@ -3,9 +3,9 @@
 #include "traceanalysis.h"
 #include "hashtable.h"
 
-class SCAnalysis : public Trace_Analysis {
+class SCAnalysis : public TraceAnalysis {
  public:
-       SCAnalysis();
+       SCAnalysis(const ModelExecution *execution);
        ~SCAnalysis();
        virtual void analyze(action_list_t *);
 
@@ -18,10 +18,11 @@ class SCAnalysis : public Trace_Analysis {
        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<const ModelAction *,ClockVector *, uintptr_t, 4 > * cvmap;
-       HashTable<const ModelAction *,const ModelAction *, uintptr_t, 4 > * cycleset;
-       SnapVector<action_list_t> * threadlists;
+       HashTable<const ModelAction *, ClockVector *, uintptr_t, 4 > *cvmap;
+       HashTable<const ModelAction *, const ModelAction *, uintptr_t, 4 > *cycleset;
+       SnapVector<action_list_t> *threadlists;
+       const ModelExecution *execution;
 };
 #endif