dsheets / mtime

Monotonic wall-clock time for OCaml

Home Page:http://erratique.ch/software/mtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mtime — Monotonic wall-clock time for OCaml

Release %%VERSION%%

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.

About

Monotonic wall-clock time for OCaml

http://erratique.ch/software/mtime

License:ISC License


Languages

Language:OCaml 73.4%Language:C 9.3%Language:Standard ML 7.2%Language:HTML 6.7%Language:Shell 3.4%