package mtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

mtime-1.3.0.tbz
sha512=5b998ef803020de4771525adaa448623d348fa079800e72ba2ba78ff2d76a7d89da6200fe8bbc435d1355ad2c571c029398150d618912e58b5765fcf2210a5d0

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.

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

README

Mtime — Monotonic wall-clock time for OCaml

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

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 & >= "1.0.3"
  2. ocamlbuild build & != "0.9.0"
  3. ocamlfind build
  4. ocaml >= "4.03.0"

Dev Dependencies

None

Used by (54)

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

Conflicts (1)

  1. js_of_ocaml <= "3.3.0"
OCaml

Innovation. Community. Security.