package mtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

mtime-1.1.0.tbz
sha256=63362f4a8ffd9a86e3f107d57f7cbd4cf829b339fa2498177a83e51cb9a464e1
md5=2935fe4a36b721735f60c9c65ad63a26

Description

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.

README

Mtime — Monotonic wall-clock time for OCaml

v1.1.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
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

Dependencies (4)

  1. topkg build
  2. ocamlbuild build & != "0.9.0"
  3. ocamlfind build
  4. ocaml >= "4.03.0"

Dev Dependencies

None

Used by (47)

  1. acgtk >= "1.5.0" & < "2.0.0"
  2. archsat
  3. awa
  4. awa-lwt
  5. awa-mirage
  6. bos
  7. cca < "0.7"
  8. charrua-unix >= "0.9"
  9. datakit >= "0.11.0"
  10. datakit-bridge-github >= "0.11.0"
  11. dns-forward >= "0.9.0"
  12. electrod
  13. git >= "1.11.0" & < "3.0.0"
  14. git-mirage >= "1.11.0" & < "3.0.0"
  15. git-unix >= "1.11.1" & < "3.0.0"
  16. happy-eyeballs-lwt
  17. index >= "1.2.1" & < "1.6.2"
  18. index-bench >= "1.4.0" & < "1.6.2"
  19. irmin = "0.12.0" | >= "3.0.0" & < "3.8.0"
  20. irmin-bench >= "2.5.0" & < "3.8.0"
  21. irmin-chunk = "1.3.0"
  22. irmin-containers < "3.8.0"
  23. irmin-fs < "2.0.0"
  24. irmin-git >= "1.2.0" & < "3.8.0"
  25. irmin-http >= "1.2.0" & < "2.0.0"
  26. irmin-layers
  27. irmin-mem < "2.0.0"
  28. irmin-pack >= "2.3.0" & < "3.8.0"
  29. irmin-test < "3.8.0"
  30. irmin-unix >= "1.2.0" & < "2.0.0"
  31. irmin-watcher >= "0.3.0"
  32. logs >= "0.5.0"
  33. logtk >= "2.1"
  34. metrics-unix
  35. mirage-crypto-rng >= "0.7.0" & < "0.11.0"
  36. mirage-crypto-rng-eio
  37. mirage-crypto-rng-lwt
  38. mirage-crypto-rng-miou-unix
  39. mirage-profile-unix
  40. OCanren
  41. odig >= "0.0.2" & < "0.0.4"
  42. opium >= "0.19.0"
  43. progress < "0.2.2"
  44. pvec
  45. regenerate
  46. terminal < "0.2.2"
  47. tezos-stdlib-unix < "16.0"

Conflicts (1)

  1. js_of_ocaml >= "3.4.0"
OCaml

Innovation. Community. Security.