package devkit

  1. Overview
  2. Docs

new typ type ?attr key registers new type of counters with designated attributes and key name

method ref : 'a. 'a -> ('a -> t) -> string -> 'a ref
method get_count : string -> (unit -> int option) -> unit
method get_bytes : string -> (unit -> int option) -> unit
method get_time : string -> (unit -> Devkit_core.Time.t option) -> unit
method count : string -> int ref
method bytes : string -> int ref
method time : string -> float ref
method unregister : unit -> unit
method get : (string * t) list
method show : string