Split the formula cache into a top-down and bottom-up cache.
[tatoo.git] / src / tatoo.ml
index ca16227..6464cb4 100644 (file)
@@ -15,6 +15,8 @@
 
 open Format
 
+
+
 let time f arg msg =
   let t1 = Unix.gettimeofday () in
   let r = f arg in
@@ -122,10 +124,11 @@ let main () =
   in
   let s = Naive.stats () in
   Run.(
-  Logger.msg `STATS "@[tree size: %d@\ntraversals: %d@\ncache2 hit ratio: %f@\ncache5 hit ratio: %f@]"
+  Logger.msg `STATS
+    "@[tree size: %d@\ntraversals: %d@\ntransition fetch cache hit ratio: %f@\ntransition eval cache hit ratio: %f@]"
     s.tree_size s.run
-    (float s.cache2_hit /. float s.cache2_access)
-    (float s.cache5_hit /. float s.cache5_access));
+    (float s.fetch_trans_cache_hit /. float s.fetch_trans_cache_access)
+    (float s.eval_trans_cache_hit /. float s.eval_trans_cache_access));
   time (fun () ->
     let count = ref 1 in
     List.iter (fun results ->