mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
shortcut in clock
This commit is contained in:
parent
7cc0ee1701
commit
d5f6b564db
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ end
|
|||
(** Clock that uses ptime. *)
|
||||
let ptime_clock : t = { now = now_ptime_ }
|
||||
|
||||
(** Same as [now ptime_clock] *)
|
||||
let now_ptime = now_ptime_
|
||||
|
||||
(** Singleton clock *)
|
||||
module Main = struct
|
||||
open struct
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue