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