package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val create : unit -> t
val read_seconds : t -> float
val record : t -> f:(unit -> 'a) -> 'a

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

OCaml

Innovation. Community. Security.