package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Realtime
  2. | Monotonic
  3. | Process_cpu
  4. | Process_thread

Supported clocks. See clock_gettime(3) man pages for semantics.

Return the resolution of the given clock in nanoseconds.

Return the current time of the given clock since 00:00:00 UTC, Jan. 1, 1970, in nanoseconds.

OCaml

Innovation. Community. Security.