X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Frun.mli;h=705b44f1ac5af0a7b65b044fc39311540693dbfb;hp=e124e8ae19e6f77cc63b6ed9ff509fe62b79c172;hb=a96c64d15866719b4c8eb6d98ad7f1fc948e7636;hpb=3406b26f1ea26a997d7f194c547439891c108ce6 diff --git a/src/run.mli b/src/run.mli index e124e8a..705b44f 100644 --- a/src/run.mli +++ b/src/run.mli @@ -12,14 +12,18 @@ (* ../LICENSE. *) (* *) (***********************************************************************) -type stats = { run : int; + + +type stats = private { mutable pass : int; tree_size : int; - fetch_trans_cache_access : int; - fetch_trans_cache_hit : int; - eval_trans_cache_access : int; - eval_trans_cache_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) (L : Node_list.S with type node = T.node) : + +module Make (T : Tree.S) (L : Deque.S with type elem = T.node) : sig val eval : Ata.t -> T.t -> L.t -> L.t val full_eval : Ata.t -> T.t -> L.t -> (State.t * L.t) list