package ocaml-compiler

  1. Overview
  2. Docs

doc/runtime_events/Runtime_events/Timestamp/index.html

Module Runtime_events.Timestamp

type t

Type for the int64 timestamp to allow for future changes.

val to_int64 : t -> int64
val get_current : unit -> t

Access the current timestamp. The timestamp is incremented by one every nanosecond, but the starting point is unspecified.

  • since 5.4