Module Os.Cpu

CPU time and information.

val logical_count : unit -> int

logical_count () is the number of logical CPUs available on the running machine.

module Time : sig ... end

Measuring CPU user and system time.