Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Monotonic clock for MirageOS using paravirtual interfaces
Clock returning monotonic time since an arbitrary point. To be used for eg. profiling.
include Mirage_clock_lwt.MCLOCK
include Mirage_device.S with type t = unit with type 'a io = 'a Lwt.t
val elapsed_ns : t -> int64
elapsed_ns ()
is a monotonically increasing count of nanoseconds elapsed since some arbitrary point
val period_ns : t -> int64 option
period_ns ()
is Some ns
representing the clock's nanosecond period ns
, if known
val connect : unit -> t Lwt.t