Runtime_events.Timestamp(3)

โœจ Runtime_events.Timestamp(3) โœจ

okay bestie, welcome to the Runtime_events.Timestamp(3) page from the OCaml library ๐Ÿ’– itโ€™s short, itโ€™s sweet, and itโ€™s literally all about timestamps, no cap โœจ


๐Ÿ“› NAME ๐Ÿ“›

Runtime_events.Timestamp โ€” no description

๐Ÿงฉ Module ๐Ÿงฉ

Module Runtime_events.Timestamp

๐Ÿ“– Documentation ๐Ÿ“–

Module Timestamp

: sig end

๐Ÿ•ฐ๏ธ type t ๐Ÿ•ฐ๏ธ

Abstract timestamp included in events.

๐Ÿงฎ val to_int64 ๐Ÿงฎ

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 โฐ

val get_current : unit -> t

Access the current timestamp.

Since 5.4


thatโ€™s the whole vibe, bestie ๐Ÿ’… source/version: OCamldoc, date: 2026-06-22 ๐ŸŽ€๐Ÿซถ

๐Ÿ“ฆ where this page comes from
  • arch rolling: ocaml 5.5.0-1 ยท LGPL2.1 AND custom: QPL-1.0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms