package mirage-clock-freestanding

  1. Overview
  2. Docs
Legend:
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
type 'a io = 'a Lwt.t
type t = unit
val disconnect : t -> unit io
val elapsed_ns : t -> int64
val period_ns : t -> int64 option
val connect : unit -> t Lwt.t
OCaml

Innovation. Community. Security.