X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Frun.mli;h=705b44f1ac5af0a7b65b044fc39311540693dbfb;hp=1efe4a789b579f3a298473455d7dcb94f27baddd;hb=a96c64d15866719b4c8eb6d98ad7f1fc948e7636;hpb=6ca42ffbd541cede6afcc473b563e54b848ee534 diff --git a/src/run.mli b/src/run.mli index 1efe4a7..705b44f 100644 --- a/src/run.mli +++ b/src/run.mli @@ -13,8 +13,19 @@ (* *) (***********************************************************************) -module Make (T : Tree.S) : + +type stats = private { mutable pass : int; + tree_size : 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) (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