Primus.Time
Machine time.
Each machine has its own clock that is incremented on each operation. When machine is forked, the derived machine inherits the clock value from the parent machine.
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val clocks : t -> int
clocks t
is the time t
expressed in clocks from the start of machine.
val of_clocks : int -> t
of_clocks clk
represents a time duration equal to the specified number of clocks.
val to_string : t -> string
a string representation of time
val pp : Stdlib.Format.formatter -> t -> unit
time printer
include Base.Comparable.S with type t := t
val comparator : (t, comparator_witness) Base__.Comparator.comparator