Print detailed statisticts of the run.
[tatoo.git] / src / run.mli
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                               TAToo                                 *)
4 (*                                                                     *)
5 (*                     Kim Nguyen, LRI UMR8623                         *)
6 (*                   Université Paris-Sud & CNRS                       *)
7 (*                                                                     *)
8 (*  Copyright 2010-2013 Université Paris-Sud and Centre National de la *)
9 (*  Recherche Scientifique. All rights reserved.  This file is         *)
10 (*  distributed under the terms of the GNU Lesser General Public       *)
11 (*  License, with the special exception on linking described in file   *)
12 (*  ../LICENSE.                                                        *)
13 (*                                                                     *)
14 (***********************************************************************)
15 type stats = { run : int;
16                tree_size : int;
17                cache2_access : int;
18                cache2_hit : int;
19                cache5_access : int;
20                cache5_hit : int;
21              }
22 module Make (T : Tree.S) :
23   sig
24     val eval : Ata.t -> T.t -> T.node list -> T.node list
25     val full_eval : Ata.t -> T.t -> T.node list -> (State.t * T.node list) list
26     val stats : unit -> stats
27   end