X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=history.h;h=0b523b230bfce69db59634ce11bdd5735543a733;hp=dd8f13d8c14a9527eddc19e4f17b1146966863c3;hb=06c988d6e758d2fd5d9c0a68a86c8751d8f0f8cb;hpb=a95ff96d0c30bc84c6e7757e346cd7b0b9ace03b diff --git a/history.h b/history.h index dd8f13d8..0b523b23 100644 --- a/history.h +++ b/history.h @@ -17,6 +17,8 @@ public: void add_func_atomic(ModelAction *act, thread_id_t tid); HashTable * getFuncMap() { return &func_map; } + ModelVector * getFuncMapRev() { return &func_map_rev; } + ModelVector * getFuncAtomics() { return &func_atomics; } void print(); @@ -27,6 +29,8 @@ private: /* map function names to integer ids */ HashTable func_map; + /* map integer ids to function names */ + ModelVector func_map_rev; ModelVector func_atomics; };