package mtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

mtime-0.8.2.tbz
md5=c9b71fef2e30219cc457b4a165c3ab07

Description

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.

README

Mtime — Monotonic wall-clock time for OCaml

Release 0.8.2

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.

Dependencies (4)

  1. ocamlbuild build
  2. js_of_ocaml < "3.0"
  3. ocamlfind build
  4. ocaml >= "4.01.0" & < "4.06.0"

Dev Dependencies

None

Used by (30)

  1. archsat
  2. awa < "0.1.2"
  3. awa-lwt < "0.1.2"
  4. awa-mirage < "0.1.2"
  5. bos
  6. cca < "0.7"
  7. charrua-unix < "0.3" | >= "0.5" & < "0.9"
  8. datakit < "0.11.0"
  9. datakit-bridge-github < "0.11.0"
  10. datakit-github < "0.9.0"
  11. dns-forward
  12. electrod
  13. git >= "1.8.0" & < "1.10.0"
  14. git-mirage < "1.11.0"
  15. git-unix >= "1.10.0" & < "1.11.1"
  16. index-bench >= "1.4.0" & < "1.6.2"
  17. irmin >= "0.12.0" & < "1.2.0"
  18. irmin-bench >= "2.5.0" & < "3.8.0"
  19. irmin-chunk = "1.3.0"
  20. irmin-containers < "3.8.0"
  21. irmin-pack >= "2.3.0" & < "3.8.0"
  22. irmin-watcher = "0.2.0"
  23. logs >= "0.5.0"
  24. message-switch >= "1.4.0"
  25. metrics-unix = "0.2.0"
  26. mirage-crypto-rng-eio
  27. odig < "0.0.2"
  28. progress < "0.2.0"
  29. pvec
  30. regenerate < "0.2"

Conflicts

None