X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=history.h;h=d6d090baa741e83cb1d9fe0f49580c70ac7fc1b9;hp=0b523b230bfce69db59634ce11bdd5735543a733;hb=3c4cdc788494bfd2fa3b22e6487c465132b59006;hpb=06c988d6e758d2fd5d9c0a68a86c8751d8f0f8cb diff --git a/history.h b/history.h index 0b523b23..d6d090ba 100644 --- a/history.h +++ b/history.h @@ -14,12 +14,13 @@ public: uint32_t get_func_counter() { return func_counter; } void incr_func_counter() { func_counter++; } - void add_func_atomic(ModelAction *act, thread_id_t tid); + void process_action(ModelAction *act, thread_id_t tid); HashTable * getFuncMap() { return &func_map; } ModelVector * getFuncMapRev() { return &func_map_rev; } - ModelVector * getFuncAtomics() { return &func_atomics; } + ModelVector * getFuncNodes() { return &func_nodes; } + FuncNode * get_func_node(uint32_t func_id); void print(); @@ -27,10 +28,10 @@ public: private: uint32_t func_counter; - /* map function names to integer ids */ + /* map function names to integer ids */ HashTable func_map; - /* map integer ids to function names */ + /* map integer ids to function names */ ModelVector func_map_rev; - ModelVector func_atomics; + ModelVector func_nodes; };