package mtime

  1. Overview
  2. Docs
Monotonic wall-clock time for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

mtime-0.8.4.tbz
md5=6261cb1a621412b7195615c2dbce57f3

README.md.html

Mtime — Monotonic wall-clock time for OCaml

v0.8.4

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 ISC 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 from the source interfaces. It can be consulted online or via odig 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 the test* directories. They can be built and run with:

topkg build --tests true && topkg test