X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Frun.mli;h=c94227751c27c475d11e1d410f0afe1416a3329b;hp=725192ebc943bbdbc88c9a8307bf912f3d790ff9;hb=836d6ea0aebf1f947faa74db1d78168afb882930;hpb=e56b9fbeaed04c1f2fb7019de34f7d8e87d6db73 diff --git a/src/run.mli b/src/run.mli index 725192e..c942277 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; - 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_hit : int; + mutable eval_trans_cache_access : int; + mutable eval_trans_cache_hit : int; + mutable nodes_per_run : int list; } -module Make (T : Tree.S) : + +module Make (T : Tree.S) (L : Node_list.S with type node = 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