mtime
v1.3.0
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.
Mtime has a no dependency. Mtime_clock depends on your system library.
The optional JavaScript support depends on js_of_ocaml. Mtime
and its libraries are distributed under the ISC license.
Home page: http://erratique.ch/software/mtime
Installation
Mtime can be installed with opam
:
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
instructions.
Documentation
The documentation and API reference is automatically generated from
the source interfaces. It can be consulted online or viaodig doc mtime
.
Sample programs
If you installed mtime with opam
sample programs are located in
the directory opam config var mtime:doc
.
In the distribution sample programs and tests are located in thetest*
directories. They can be built and run with:
topkg build --tests true && topkg test
sha512=5b998ef803020de4771525adaa448623d348fa079800e72ba2ba78ff2d76a7d89da6200fe8bbc435d1355ad2c571c029398150d618912e58b5765fcf2210a5d0
>= "1.5.0"
>= "0.9"
>= "0.11.0"
>= "0.11.0"
>= "4.1.0"
>= "4.1.0"
>= "0.9.0"
>= "1.11.0" & < "3.0.0"
>= "1.11.0" & < "3.0.0"
>= "1.11.1"
>= "1.2.1"
>= "1.4.0"
= "0.12.0" | >= "3.0.0"
>= "2.5.0"
= "1.3.0"
< "2.0.0"
>= "1.2.0"
>= "1.2.0" & < "2.0.0"
< "2.0.0"
>= "2.3.0"
>= "1.2.0" & < "2.0.0"
>= "0.3.0"
>= "0.5.0"
>= "2.1"
>= "0.7.0"
>= "0.0.2" & < "0.0.4"
>= "0.19.0"