X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=history.h;h=2edf12a8c790d95f4ef56b18812220861cec4f7b;hb=332eb3dfeb0f0272f4dbe3a3b10a8ff4bf3bb188;hp=5709ab6cc9baa405dc2f5febc00b3910b639c4bf;hpb=a177614511b9244854659a8d5f304d3e912c1658;p=c11tester.git diff --git a/history.h b/history.h index 5709ab6c..2edf12a8 100644 --- a/history.h +++ b/history.h @@ -7,7 +7,7 @@ #include "hashset.h" #include "threads-model.h" -typedef HashSet write_set_t; +typedef HashSet write_set_t; class ModelHistory { public: @@ -32,7 +32,8 @@ public: void add_to_write_history(void * location, uint64_t write_val); - void print(); + void print_write(); + void print_func_node(); MEMALLOC private: @@ -44,7 +45,9 @@ private: ModelVector func_map_rev; ModelVector func_nodes; + HashTable write_history; + HashSet write_locations; }; -#endif /* __HISTORY_H__ */ +#endif /* __HISTORY_H__ */