Runtime\_events.Timestamp(3) OCaml library Runtime\_events.Timestamp(3)

# [NAME](#NAME)

Runtime\_events.Timestamp - no description

# [Module](#Module)

Module Runtime\_events.Timestamp

# [Documentation](#Documentation)

Module **Timestamp**  
: **sig end**

*type t*

Abstract timestamp included in events.

*val to\_int64* : **t -&gt; 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 -&gt; t**

Access the current timestamp.

**Since** 5.4

2026-10-23 OCamldoc

---

Document: Runtime_events.Timestamp(3o) from ocaml 5.5.2-r0 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
