X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=model.h;h=89d089d1051aafbcd95ae6cd4961c23f764be739;hb=aeb054abf1a84d816e655c14efb62adf20874080;hp=7d84f60112c5ef26b8c54cf9e139f016fc05df7b;hpb=a726f5f6e1e0731a0516be1e9e23397744734ef5;p=c11tester.git diff --git a/model.h b/model.h index 7d84f601..89d089d1 100644 --- a/model.h +++ b/model.h @@ -52,6 +52,8 @@ public: const ModelExecution * get_execution() const { return execution; } + int get_execution_number() const { return execution_number; } + Thread * get_thread(thread_id_t tid) const; Thread * get_thread(const ModelAction *act) const; @@ -82,6 +84,8 @@ private: NodeStack * const node_stack; ModelExecution *execution; + int execution_number; + void execute_sleep_set(); bool next_execution();