package mtime
Install
Dune Dependency
Authors
Maintainers
Sources
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)
-
topkg
build & >= "1.0.3"
-
ocamlbuild
build & != "0.9.0"
-
ocamlfind
build
-
ocaml
>= "4.08.0"
Dev Dependencies
None
Used by (66)
-
acgtk
>= "2.0.0"
-
archsat
< "1.1"
- awa
- awa-lwt
- awa-mirage
- bos
-
caqti
>= "2.0.1"
-
caqti-lwt
>= "2.0.1"
-
cca
>= "0.7"
-
charrua-unix
>= "0.9" & < "1.1.0" | >= "1.6.0"
-
datakit
>= "0.11.0"
-
datakit-bridge-github
>= "0.11.0"
-
dns-cli
>= "4.1.0"
-
dns-client
>= "4.1.0"
- dns-client-lwt
-
dns-forward
>= "0.9.0"
-
docteur
>= "0.0.6"
- domain-local-timeout
-
eio
!= "0.7"
-
electrod
< "0.2.3"
- fuseau
-
git
>= "1.11.0" & < "2.0.0"
-
git-mirage
>= "1.11.0" & < "2.1.2"
-
git-unix
>= "1.11.1" & < "2.0.0" | >= "3.2.0" & < "3.4.0" | = "3.7.1" | = "3.8.1" | >= "3.11.0"
- happy-eyeballs-lwt
- happy-eyeballs-miou-unix
-
index
>= "1.2.1" & < "1.4.1" | >= "1.6.2"
-
index-bench
>= "1.4.0"
-
irmin
= "0.12.0" | >= "3.8.0"
-
irmin-bench
>= "2.5.0" & < "3.5.0" | >= "3.8.0"
-
irmin-chunk
= "1.3.0"
-
irmin-containers
< "2.7.0" | >= "3.8.0"
-
irmin-fs
< "2.0.0"
-
irmin-git
>= "1.2.0" & < "3.0.0" | >= "3.8.0"
-
irmin-http
>= "1.2.0" & < "2.0.0"
-
irmin-mem
< "2.0.0"
-
irmin-pack
>= "2.3.0" & < "2.7.0" | >= "3.8.0"
-
irmin-test
!= "2.2.0" & < "3.5.0" | >= "3.8.0"
-
irmin-unix
>= "1.2.0" & < "2.0.0"
-
irmin-watcher
>= "0.4.0" & < "0.5.0"
-
logs
>= "0.5.0"
-
metrics-unix
>= "0.4.0"
-
miou
>= "0.1.0"
-
mirage-crypto-rng
>= "0.7.0" & < "0.11.0"
- mirage-crypto-rng-eio
- mirage-crypto-rng-lwt
- mirage-crypto-rng-miou-unix
- mirage-profile-unix
- multicore-bench
- OCanren
- octez-internal-libs
-
octez-libs
>= "20.1"
-
odig
>= "0.0.2" & < "0.0.4"
- opentelemetry-client-cohttp-lwt
- opentelemetry-client-ocurl
-
opium
>= "0.19.0"
-
picos
< "0.5.0"
- picos_io
-
ppx_minidebug
>= "1.2.1"
-
progress
>= "0.2.2"
-
regenerate
< "0.2"
-
riot
>= "0.0.8"
- terminal
- tezt-bam
- trace-fuchsia
- trace-tef
Conflicts
None