Cpu.TimeMeasuring CPU user and system time.
val span :
utime:Mtime.span ->
stime:Mtime.span ->
children_utime:Mtime.span ->
children_stime:Mtime.span ->
spanspan ~utime ~stime ~children_utime ~children_stime is a cpu span with the given fields. See accessors for semantics.
val zero : spanzero is zero CPU times.
val utime : span -> Mtime.spanutime cpu is cpu's user time.
val stime : span -> Mtime.spanstime cpu is cpu's system time.
val children_utime : span -> Mtime.spanchildren_utime cpu is cpu's user time for children processes.
val children_stime : span -> Mtime.spanchildren_stime cpu is cpu's system time for children processes.
val counter : unit -> countercounter () is a counter counting from now on.