mtime
mtime copied to clipboard
Monotonic wall-clock time for OCaml
Fixes https://github.com/dbuenzli/mtime/issues/10
Haiku
Condition de compilation sur Haiku [(www.haiku-os.org)](www.haiku-os.org)
The following fails in a 4.14 switch with flambda: ``` % cat test.ml let _ = Mtime_clock.now_ns () % ocamlbuild -pkg mtime.clock -pkg mtime.clock.os test.native -- + /home/fabian/.opam/4.14.0/bin/ocamlopt.opt -I /home/fabian/.opam/4.14.0/lib/mtime...
It'd be nice to have `@since 1.4` on, say, `Mtime.Span.ms`. It's useful when trying to write correct lower bounds for opam.
E.g. `mach_absolute_time` doesn't take into account if the OS what put to sleep. I believe this is also the case for `CLOCK_MONOTONIC`.