package mtime
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=17d753ea0f8e0ce3e827b4f14f7c810e1567cfe4fd5470aa87e8da5d4185a0da
md5=d1c7b3ef298448ecd7757f62f98e79f4
README.md.html
Mtime — Monotonic wall-clock time for OCaml
Release 0.8.1
Mtime is an OCaml module to access monotonic wall-clock time. It allows to measure time spans without being subject to operating system calendar time adjustments.
Mtime depends only on your platform system library. The optional JavaScript support depends on js_of_ocaml. It is distributed under the BSD3 license.
Home page: http://erratique.ch/software/mtime
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
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 by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
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 are located in the test
directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
The resulting binaries are in _build/test
.
test.native
tests the library, nothing should fail.