package memtrace

  1. Overview
  2. Docs

Module Trace.TimestampSource

Timestamps

Sourcetype t
Sourceval now : unit -> t
Sourceval of_int64 : int64 -> t

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

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

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

Sourceval of_float : float -> t
OCaml

Innovation. Community. Security.