package mirage-clock-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Monotonic clock

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
val disconnect : t -> unit io
val elapsed_ns : t -> int64
val period_ns : t -> int64 option
val connect : unit -> t io
OCaml

Innovation. Community. Security.