Split the formula cache into a top-down and bottom-up cache.
[tatoo.git] / src / tatoo.ml
index 485d8e1..6464cb4 100644 (file)
@@ -15,6 +15,8 @@
 
 open Format
 
+
+
 let time f arg msg =
   let t1 = Unix.gettimeofday () in
   let r = f arg in
@@ -123,10 +125,10 @@ let main () =
   let s = Naive.stats () in
   Run.(
   Logger.msg `STATS
-    "@[tree size: %d@\ntraversals: %d@\ncache2 hit ratio: %f@\ncache5 hit ratio: %f@]"
+    "@[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 ->