module type MCLOCK =sig..end
MCLOCK provides access to monotonic wall-clock time. This time
increases monotonically and is not subject to operating system
calendar time adjustment. It can only be used to measure
wall-clock time spans in a single program run. It will not
correctly measure time spans across Tick.LIFECYCLE.suspend and
Tick.LIFECYCLE.resume events as the monotonic clock does not
increase during these two events.
typens_span =int64
val elapsed_ns : unit -> ns_spanelapsed_ns () is the wall-clock time span elapsed since the
beginning of the program. Note that this doesn't take into
account time the program spends between two Tick.LIFECYCLE.suspend
and Tick.LIFECYCLE.resume occurences.val period_ns : unit -> ns_span optionperiod_ns () is if available Some d representing the
clock's nanosecond period d.