aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/hashcons.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-02-11 15:19:07 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-02-11 15:45:54 +0100
commit2c449165e42f59fa6dfa8186bfca8c371de4c51a (patch)
treeeb0fc91966cf378080b7aa530119d67c9aaa04fd /lib/hashcons.mli
parent0fb3920ef4f40752de539af998e85e57bcedc55c (diff)
Adding a statistic function on hashconsing tables.
Diffstat (limited to 'lib/hashcons.mli')
-rw-r--r--lib/hashcons.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hashcons.mli b/lib/hashcons.mli
index 60a9ee01c..8d0adc3fd 100644
--- a/lib/hashcons.mli
+++ b/lib/hashcons.mli
@@ -56,6 +56,8 @@ module type S =
(** This create a hashtable of the hashconsed objects. *)
val hcons : table -> t -> t
(** Perform the hashconsing of the given object within the table. *)
+ val stats : table -> Hashset.statistics
+ (** Recover statistics of the hashconsing table. *)
end
module Make (X : HashconsedType) : (S with type t = X.t and type u = X.u)