X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fextlib%2FhExtlib.mli;h=37a3bc6df2686c17c38144b2882d1f9093842ffa;hb=f4cdaa1a48ac6f4fbef567b8a8ddf3fcfc97a3cd;hp=17e2de2bc0c758603486bcc7dac5e4da14256876;hpb=c3ac6bc155124578e9f9323172b8b474ecb32869;p=helm.git diff --git a/helm/software/components/extlib/hExtlib.mli b/helm/software/components/extlib/hExtlib.mli index 17e2de2bc..37a3bc6df 100644 --- a/helm/software/components/extlib/hExtlib.mli +++ b/helm/software/components/extlib/hExtlib.mli @@ -82,7 +82,7 @@ type profiler = { profile : 'a 'b. ('a -> 'b) -> 'a -> 'b } (** @return a profiling function; [s] is used for labelling the total time at * the end of the execution *) val profile : ?enable:bool -> string -> profiler -val set_profiling_printings : (unit -> bool) -> unit +val set_profiling_printings : (string -> bool) -> unit (** {2 Localized exceptions } *) @@ -94,3 +94,7 @@ val floc_of_loc: int * int -> Token.flocation val dummy_floc: Lexing.position * Lexing.position val raise_localized_exception: offset:int -> Token.flocation -> exn -> 'a + +(* size in KB (SLOW) *) +val estimate_size: 'a -> int +