package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.2.tbz
sha512=78fd9e53b84cf5d6bf497adaf4b6d7d974134044318639cdfe5e01c7faaa8d987d04769abe3b3b1cbdb937132e21d8723dc185cd3c68433a793278907a8e757e
doc/b0_b00_std/B00_std/Time/index.html
Module B00_std.Time
Measuring time.
Support to measure monotonic wall-clock time, CPU user and CPU system time.
Monotonic time spans
The type for non-negative monotonic time spans. They represent the difference between two clock readings with nanosecond precision (1e-9s).
module Span : sig ... end
Time spans
Monotonic wall-clock time counters
val counter : unit -> counter
counter ()
is a counter counting from now on.
CPU time spans
val cpu_span :
cpu_utime:span ->
cpu_stime:span ->
cpu_children_utime:span ->
cpu_children_stime:span ->
cpu_span
cpu_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_span
cpu_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.
CPU time counters
val cpu_counter : unit -> cpu_counter
cpu_counter ()
is a counter counting from now on.
val cpu_count : cpu_counter -> cpu_span
cpu_count c
are CPU times since c
was created.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page