B00_std.TimeMeasuring time.
Support to measure monotonic wall-clock time, CPU user and CPU system time.
The type for non-negative monotonic time spans. They represent the difference between two clock readings with nanosecond precision (1e-9s).
module Span : sig ... endTime spans
val counter : unit -> countercounter () is a counter counting from now on.
val cpu_span : cpu_utime:span -> cpu_stime:span -> cpu_children_utime:span ->
cpu_children_stime:span -> cpu_spancpu_span ~cpu_utime ~cpu_stime ~cpu_children_utime
~cpu_children_stime is a cpu span with the given fields. See accessors for semantics.
val cpu_zero : cpu_spancpu_zero is zero CPU times.
cpu_utime_s cpu is cpu's user time in seconds for children processes.
cpu_utime_s cpu is cpu's system time in seconds for children processes.
val cpu_counter : unit -> cpu_countercpu_counter () is a counter counting from now on.
val cpu_count : cpu_counter -> cpu_spancpu_count c are CPU times since c was created.