Up

Module Cpu_load

Signature

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.