package liquidsoap-lang

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Liquidsoap_lang.ProfilerSource

Sourcetype t = {
  1. total_time : float;
    (*

    Time spent in the function.

    *)
  2. self_time : float;
    (*

    Time spent in the function excluding children.

    *)
}

Function call information.

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

Indicate the time spent in a given function.

Sourceval time : string -> ('a -> 'b) -> 'a -> 'b

Measure time for a given function.

Sourcemodule M : sig ... end
Sourceval stats : unit -> string
OCaml

Innovation. Community. Security.