remove overhead for execution
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index 8a2f9c6516350b1f8b2c7c2b5be76975658a4f9d..dc36eb6339f8dc3d3d13d6908500858bf4d45d27 100644 (file)
--- a/model.h
+++ b/model.h
@@ -55,6 +55,10 @@ public:
        uint64_t switch_to_master(ModelAction *act);
        uint64_t switch_thread(ModelAction *act);
 
+       void continueExecution(Thread *old);
+       void finishExecution(Thread *old);
+       void consumeAction();
+
        void assert_bug(const char *msg, ...);
 
        void assert_user_bug(const char *msg);
@@ -80,6 +84,12 @@ private:
 
        unsigned int curr_thread_num;
 
+       Thread * chosen_thread;
+
+       bool thread_chosen;
+
+       modelclock_t checkfree;
+
        unsigned int get_num_threads() const;
 
        void finish_execution(bool moreexecutions);