package async_extended

  1. Overview
  2. Docs
val start : unit -> unit

start () starts measuring CPU load. It uses an async thread that checks * the CPU use every second and maintains stats.

module Stats : sig ... end
val get : unit -> Stats.t

get () returns the most recent stats.