package mtime

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

Install

Dune Dependency

Authors

Maintainers

Sources

mtime-2.1.0.tbz
sha512=a6619f1a3f1a5b32b7a9a067b939f94e6c66244eb90762d41f2cb1c9af852dd7d270fedb20e2b9b61875d52ba46e24af6ebf5950d1284b0b75b2fd2c380d9af3

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

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 (66)

  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" | >= "1.6.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. happy-eyeballs-miou-unix
  27. index >= "1.2.1" & < "1.4.1" | >= "1.6.2"
  28. index-bench >= "1.4.0"
  29. irmin = "0.12.0" | >= "3.8.0"
  30. irmin-bench >= "2.5.0" & < "3.5.0" | >= "3.8.0"
  31. irmin-chunk = "1.3.0"
  32. irmin-containers < "2.7.0" | >= "3.8.0"
  33. irmin-fs < "2.0.0"
  34. irmin-git >= "1.2.0" & < "3.0.0" | >= "3.8.0"
  35. irmin-http >= "1.2.0" & < "2.0.0"
  36. irmin-mem < "2.0.0"
  37. irmin-pack >= "2.3.0" & < "2.7.0" | >= "3.8.0"
  38. irmin-test != "2.2.0" & < "3.5.0" | >= "3.8.0"
  39. irmin-unix >= "1.2.0" & < "2.0.0"
  40. irmin-watcher >= "0.4.0" & < "0.5.0"
  41. logs >= "0.5.0"
  42. metrics-unix >= "0.4.0"
  43. miou >= "0.1.0"
  44. mirage-crypto-rng >= "0.7.0" & < "0.11.0"
  45. mirage-crypto-rng-eio
  46. mirage-crypto-rng-lwt
  47. mirage-crypto-rng-miou-unix
  48. mirage-profile-unix
  49. multicore-bench
  50. OCanren
  51. octez-internal-libs
  52. octez-libs >= "20.1"
  53. odig >= "0.0.2" & < "0.0.4"
  54. opentelemetry-client-cohttp-lwt
  55. opentelemetry-client-ocurl
  56. opium >= "0.19.0"
  57. picos < "0.5.0"
  58. picos_io
  59. ppx_minidebug >= "1.2.1"
  60. progress >= "0.2.2"
  61. regenerate < "0.2"
  62. riot >= "0.0.8"
  63. terminal
  64. tezt-bam
  65. trace-fuchsia
  66. trace-tef

Conflicts

None

OCaml

Innovation. Community. Security.