X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Frun.mli;h=705b44f1ac5af0a7b65b044fc39311540693dbfb;hb=b73ad7605777c49c65673e34f6f9ee635053db13;hp=579dd8a81cb182da3a79c4b83dba3d899fc20fa0;hpb=5b19281cbcdbd1ca5f565f6cd41dcfb7e18a297a;p=tatoo.git diff --git a/src/run.mli b/src/run.mli index 579dd8a..705b44f 100644 --- a/src/run.mli +++ b/src/run.mli @@ -12,16 +12,20 @@ (* ../LICENSE. *) (* *) (***********************************************************************) -type stats = { run : int; + + +type stats = private { mutable pass : int; tree_size : int; - cache2_access : int; - cache2_hit : int; - cache5_access : int; - cache5_hit : int; + mutable fetch_trans_cache_access : int; + mutable fetch_trans_cache_miss : int; + mutable eval_trans_cache_access : int; + mutable eval_trans_cache_miss : int; + mutable nodes_per_run : int list; } -module Make (T : Tree.S) : + +module Make (T : Tree.S) (L : Deque.S with type elem = T.node) : sig - val eval : Ata.t -> T.t -> T.node list -> T.node list - val full_eval : Ata.t -> T.t -> T.node list -> (State.t * T.node list) list + val eval : Ata.t -> T.t -> L.t -> L.t + val full_eval : Ata.t -> T.t -> L.t -> (State.t * L.t) list val stats : unit -> stats end