package mirage-profile

  1. Overview
  2. Docs

Module MProf_counterSource

Sourcetype t = {
  1. name : string;
  2. mutable value : int;
}
Sourceval create : ?init:int -> name:string -> unit -> t
Sourceval make : name:string -> t
Sourceval set_value : t -> int -> unit
Sourceval increase : t -> int -> unit
Sourceval value : t -> int
OCaml

Innovation. Community. Security.