experiment with exponential decay model
[c11tester.git] / funcnode.h
index fab4db50903af3bd5e4146b18b42ce5ce135c01c..ea0be0298d81b9a86b591f5666ce1005aa221dd2 100644 (file)
@@ -25,6 +25,7 @@ public:
        void set_new_exec_flag();
 
        void add_inst(ModelAction *act);
+       FuncInst * create_new_inst(ModelAction *act);
        FuncInst * get_inst(ModelAction *act);
 
        HashTable<const char *, FuncInst *, uintptr_t, 4, model_malloc, model_calloc, model_free> * getFuncInstMap() { return &func_inst_map; }
@@ -59,9 +60,8 @@ public:
        ModelList<FuncNode *> * get_out_edges() { return &out_edges; }
        int compute_distance(FuncNode * target, int max_step = MAX_DIST);
 
+       void assign_base_score();
        void print_predicate_tree();
-       void print_val_loc_map();
-       void print_last_read(thread_id_t tid);
 
        MEMALLOC
 private:
@@ -71,7 +71,6 @@ private:
        Predicate * predicate_tree_entry;       // A dummy node whose children are the real entries
        Predicate * predicate_tree_exit;        // A dummy node
 
-
        uint32_t exit_count;
        uint32_t marker;
 
@@ -119,4 +118,4 @@ private:
        ModelList<FuncNode *> out_edges;
 };
 
-#endif /* __FUNCNODE_H__ */
+#endif /* __FUNCNODE_H__ */