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

  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 < "1.1.0" | >= "1.6.0"
  11. dns-cli >= "4.1.0"
  12. dns-client >= "4.1.0"
  13. dns-client-lwt
  14. dns-forward
  15. docteur >= "0.0.6"
  16. domain-local-timeout
  17. eio != "0.7"
  18. electrod < "0.2.3"
  19. fuseau
  20. git >= "1.11.0" & < "2.0.0"
  21. git-mirage < "2.1.2"
  22. git-unix >= "1.11.4" & < "2.0.0" | >= "3.2.0" & < "3.4.0" | >= "3.11.0"
  23. happy-eyeballs-lwt
  24. happy-eyeballs-miou-unix
  25. index >= "1.2.1" & < "1.4.1" | >= "1.6.2"
  26. index-bench >= "1.4.0"
  27. irmin >= "3.8.0"
  28. irmin-bench >= "2.5.0" & < "3.5.0" | >= "3.8.0"
  29. irmin-containers < "2.7.0" | >= "3.8.0"
  30. irmin-git < "3.0.0" | >= "3.8.0"
  31. irmin-pack >= "2.3.0" & < "2.7.0" | >= "3.8.0"
  32. irmin-test >= "2.3.0" & < "3.5.0" | >= "3.8.0"
  33. irmin-watcher >= "0.4.0" & < "0.5.0"
  34. logs
  35. metrics-unix >= "0.4.0"
  36. miou >= "0.1.0"
  37. mirage-crypto-rng >= "0.8.0" & < "0.11.0"
  38. mirage-crypto-rng-eio
  39. mirage-crypto-rng-lwt
  40. mirage-crypto-rng-miou-unix
  41. mirage-profile-unix
  42. multicore-bench
  43. OCanren
  44. octez-internal-libs
  45. octez-libs >= "20.1"
  46. odig < "0.0.4"
  47. opentelemetry-client-cohttp-lwt
  48. opentelemetry-client-ocurl
  49. opium >= "0.19.0"
  50. picos < "0.5.0"
  51. picos_io
  52. ppx_minidebug >= "1.2.1"
  53. progress >= "0.2.2"
  54. regenerate < "0.2"
  55. riot >= "0.0.8"
  56. terminal
  57. tezt-bam
  58. trace-fuchsia
  59. trace-tef

Conflicts

None

OCaml

Innovation. Community. Security.