Module Async_extra.Cpu_usage.Sampler

type t
val create : unit ‑> t
val take_sample : t ‑> Core.Percent.t

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