package GuaCaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type entry = {
  1. mutable ncall : int;
  2. mutable ttime : float;
}
type entry_list = {
  1. mutable el_ncall : int;
  2. mutable el_ttime : float;
  3. mutable el_times : float list;
}
type t = {
  1. prefix : string;
  2. table : (string, entry) Hashtbl.t;
  3. el_table : (string, entry_list) Hashtbl.t;
  4. mutable active : int;
  5. mutable total_other : float;
  6. mutable start_other : float;
}
val newman : ?prefix:string -> unit -> t
val get_entry : t -> string -> entry
val get_entry_list : t -> string -> entry_list
val stop_other : t -> unit
val start_other : t -> unit
val time_start : t -> string -> unit -> unit
val time_start_el : t -> string -> unit -> unit
val profile : t -> string -> ('a -> 'b) -> 'a -> 'b
val profile2 : t -> string -> ('a -> 'b -> 'c) -> 'a -> 'b -> 'c
val uprofile : t -> string -> (unit -> 'b) -> 'b
val print_table : t -> unit
val print_el_table : t -> unit
val print : t -> unit
val default : t
OCaml

Innovation. Community. Security.