package memtrace-mirage

  1. Overview
  2. Docs

Timestamps

type t
val now : unit -> t
val of_int64 : int64 -> t

Convert to and from the number of microseconds since the Unix epoch

val to_int64 : t -> int64
val to_float : t -> float

Convert back and forth between the Unix module's float format and timestamps

val of_float : float -> t
OCaml

Innovation. Community. Security.