Mtime — Monotonic wall-clock time for OCaml
Mtime has platform independent support for monotonic wall-clock time in pure OCaml. This time increases monotonically and is not subject to operating system calendar time adjustments. The library has types to represent nanosecond precision timestamps and time spans.
The additional Mtime_clock library provide access to a system monotonic clock.
Home page: http://erratique.ch/software/mtime
Contact: Daniel Bünzli
Mtime can be installed with
opam install mtime opam install js_of_ocaml mtime # mtime with jsoo support
If you don't use
opam consult the
opam file for build
The documentation and API reference is automatically generated from
the source interfaces. It can be consulted online or via
odig doc mtime.
If you installed mtime with
opam sample programs are located in
opam config var mtime:doc.
In the distribution sample programs and tests are located in the
test* directories. They can be built and run with:
topkg build --tests true && topkg test