package liquidsoap-lang

  1. Overview
  2. Docs
type t = {
  1. total_time : float;
    (*

    Time spent in the function.

    *)
  2. self_time : float;
    (*

    Time spent in the function excluding children.

    *)
}

Function call information.

val calls : (string * t) list ref
val stack : string list ref
val children : float ref list ref
val add : string -> t -> unit

Indicate the time spent in a given function.

val time : string -> ('a -> 'b) -> 'c -> 'd

Measure time for a given function.

module M : sig ... end
val stats : unit -> string
OCaml

Innovation. Community. Security.