package ocaml-compiler

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

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