]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic/cicUtil.mli
aded prifiler factory
[helm.git] / helm / ocaml / cic / cicUtil.mli
index 60c14f8a6c03e5e0d9736a3a22c9275eda047ed0..39316586e2360ec2fa702dfe52e33732cc381ee2 100644 (file)
@@ -75,3 +75,7 @@ val select: term:Cic.term -> context:Cic.term -> (int * Cic.term) list
  * creates a list of [howmany] rels starting from [from] in decreasing order *)
 val mk_rels : int -> int -> Cic.term list
 
+(** profile s
+ * returns a profiling function; [s] is used for labelling the total time at
+   the end of the execution *)
+val profile : string -> ('a -> 'b) -> 'a -> 'b