Up

Module Sampler

Signature

type t
val create : unit -> t
val take_sample : t -> Core.Std.Percent.t

Measure the percent of CPU used by this process since the last take_sample t call (or since t was created).