X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Frun.mli;h=e124e8ae19e6f77cc63b6ed9ff509fe62b79c172;hp=847632643134f5b2188a593b06e92627fb6ffebf;hb=3406b26f1ea26a997d7f194c547439891c108ce6;hpb=af9d790ca62e678e8e70ab8d8fa7f804985a75e0 diff --git a/src/run.mli b/src/run.mli index 8476326..e124e8a 100644 --- a/src/run.mli +++ b/src/run.mli @@ -12,8 +12,16 @@ (* ../LICENSE. *) (* *) (***********************************************************************) - -module Make (T : Tree.S) : +type stats = { run : int; + tree_size : int; + fetch_trans_cache_access : int; + fetch_trans_cache_hit : int; + eval_trans_cache_access : int; + eval_trans_cache_hit : int; + } +module Make (T : Tree.S) (L : Node_list.S with type node = T.node) : sig - val eval : Ata.t -> T.t -> T.node -> T.node 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