package mtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

mtime-2.0.0.tbz
sha512=2ebec45218901c08f73420aa3318c506f155b6c0df713e9856682e59d3246696821ea477ce3682af0bf4cafd0491b1d66904f8c0256e2cf831e93a0aea322f04

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 or JavaScript runtime system. 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

v2.0.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 or JavaScript runtime system. 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

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation can be consulted online or via odig doc mtime.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Sample programs

See test/min_clock.ml.

If you installed mtime with opam sample programs are located in the directory opam var mtime:doc.

Dependencies (4)

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

Dev Dependencies

None

Used by (61)

  1. acgtk >= "2.0.0"
  2. archsat < "1.1"
  3. awa
  4. awa-lwt
  5. awa-mirage
  6. bos
  7. caqti >= "2.0.1"
  8. caqti-lwt >= "2.0.1"
  9. cca >= "0.7"
  10. charrua-unix >= "0.9" & < "1.1.0"
  11. datakit >= "0.11.0"
  12. datakit-bridge-github >= "0.11.0"
  13. dns-cli >= "4.1.0"
  14. dns-client >= "4.1.0"
  15. dns-client-lwt
  16. dns-forward >= "0.9.0"
  17. docteur >= "0.0.6"
  18. domain-local-timeout
  19. eio != "0.7"
  20. electrod < "0.2.3"
  21. fuseau
  22. git >= "1.11.0" & < "2.0.0"
  23. git-mirage >= "1.11.0" & < "2.1.2"
  24. git-unix >= "1.11.1" & < "2.0.0" | >= "3.2.0" & < "3.4.0" | = "3.7.1" | = "3.8.1" | >= "3.11.0"
  25. happy-eyeballs-lwt
  26. index >= "1.2.1" & < "1.4.1" | >= "1.6.2"
  27. index-bench >= "1.4.0"
  28. irmin = "0.12.0" | >= "3.8.0"
  29. irmin-bench >= "2.5.0" & < "3.5.0" | >= "3.8.0"
  30. irmin-chunk = "1.3.0"
  31. irmin-containers < "2.7.0" | >= "3.8.0"
  32. irmin-fs < "2.0.0"
  33. irmin-git >= "1.2.0" & < "3.0.0" | >= "3.8.0"
  34. irmin-http >= "1.2.0" & < "2.0.0"
  35. irmin-mem < "2.0.0"
  36. irmin-pack >= "2.3.0" & < "2.7.0" | >= "3.8.0"
  37. irmin-test != "2.2.0" & < "3.5.0" | >= "3.8.0"
  38. irmin-unix >= "1.2.0" & < "2.0.0"
  39. irmin-watcher >= "0.4.0" & < "0.5.0"
  40. logs >= "0.5.0"
  41. metrics-unix >= "0.4.0"
  42. miou >= "0.1.0"
  43. mirage-crypto-rng >= "0.7.0" & < "0.11.0"
  44. mirage-crypto-rng-eio
  45. mirage-crypto-rng-lwt
  46. mirage-profile-unix
  47. multicore-bench
  48. OCanren
  49. odig >= "0.0.2" & < "0.0.4"
  50. opentelemetry-client-cohttp-lwt
  51. opentelemetry-client-ocurl
  52. opium >= "0.19.0"
  53. picos
  54. ppx_minidebug >= "1.2.1"
  55. progress >= "0.2.2"
  56. regenerate < "0.2"
  57. riot >= "0.0.8"
  58. terminal
  59. tezt-bam
  60. trace-fuchsia
  61. trace-tef

Conflicts

None