Module Timing_wheel.Alarm_precision
val compare : t -> t -> intval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val of_span : Core_kernel.Time_ns.Span.t -> tval of_span_floor_pow2_ns : Core_kernel.Time_ns.Span.t -> tof_span_floor_pow2_ns spanreturns the largest alarm precision less than or equal tospanthat is a power of two number of nanoseconds.
val to_span : t -> Core_kernel.Time_ns.Span.tval one_nanosecond : t
val about_one_day : t~19.5 h
val about_one_microsecond : t1024 us
val about_one_millisecond : t~1.05 ms
val about_one_second : t~1.07 s
val mul : t -> pow2:int -> tmul t ~pow2ist * 2^pow2.pow2may be negative, butmuldoes not check for overflow or underflow.
val div : t -> pow2:int -> tdiv t ~pow2ist / 2^pow2.pow2may be negative, butdivdoes not check for overflow or underflow.
module Unstable : sig ... endThe unstable bin and sexp format is that of
Time_ns.Span, with the caveat that deserialization implicitly floors the time span to the nearest power of two nanoseconds. This ensures that the alarm precision that is used is at least as precise than the alarm precision that is stated.