Runtime_events.Timestamp(3o)

Runtime_events.Timestamp3o

No description

Module

Module Runtime_events.Timestamp

Documentation

Module Timestamp
: sig end

type t

Abstract timestamp included in events.

val to_int64 : t -> int64

Convert a timestamp to a number of nanosecond.

Note that the starting point for timestamps in unspecified: the absolute value is meaningless, only differences matter.

Also note that the precision of the underlying clock may be coarser than nanoseconds: events may have equal timestamp if they are emitted within the coarseness of the clock.

val get_current : unit -> t

Access the current timestamp.

Since 5.4

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From ocaml 5.5.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.