package trace-fuchsia

  1. Overview
  2. Docs

Source file time.ml

1
2
3
4
5
6
let counter = Mtime_clock.counter ()

(** Now, in nanoseconds *)
let[@inline] now_ns () : int64 =
  let t = Mtime_clock.count counter in
  Mtime.Span.to_uint64_ns t
OCaml

Innovation. Community. Security.