package lsp

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

Module Metrics.TimerSource

Sourcemodule Measure : sig ... end
Sourcetype t
Sourceval start : string -> t
Sourceval stop : t -> unit
Sourceval record : string -> f:(unit -> 'a) -> 'a

If metrics are enabled, increment the timer by the amount of seconds elapsed during the execution of f.

Sourceval aggregated_timers : unit -> Measure.t String.Map.t
OCaml

Innovation. Community. Security.