package mtime
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=63362f4a8ffd9a86e3f107d57f7cbd4cf829b339fa2498177a83e51cb9a464e1
md5=2935fe4a36b721735f60c9c65ad63a26
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.
README
Mtime — Monotonic wall-clock time for OCaml
v1.1.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
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
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)
-
topkg
build
-
ocamlbuild
build & != "0.9.0"
-
ocamlfind
build
-
ocaml
>= "4.03.0"
Dev Dependencies
None
Used by (47)
-
acgtk
>= "1.5.0" & < "2.0.0"
- archsat
- awa
- awa-lwt
- awa-mirage
- bos
-
cca
< "0.7"
-
charrua-unix
>= "0.9"
-
datakit
>= "0.11.0"
-
datakit-bridge-github
>= "0.11.0"
-
dns-forward
>= "0.9.0"
- electrod
-
git
>= "1.11.0" & < "3.0.0"
-
git-mirage
>= "1.11.0" & < "3.0.0"
-
git-unix
>= "1.11.1" & < "3.0.0"
- happy-eyeballs-lwt
-
index
>= "1.2.1" & < "1.6.2"
-
index-bench
>= "1.4.0" & < "1.6.2"
-
irmin
= "0.12.0" | >= "3.0.0" & < "3.8.0"
-
irmin-bench
>= "2.5.0" & < "3.8.0"
-
irmin-chunk
= "1.3.0"
-
irmin-containers
< "3.8.0"
-
irmin-fs
< "2.0.0"
-
irmin-git
>= "1.2.0" & < "3.8.0"
-
irmin-http
>= "1.2.0" & < "2.0.0"
- irmin-layers
-
irmin-mem
< "2.0.0"
-
irmin-pack
>= "2.3.0" & < "3.8.0"
-
irmin-test
< "3.8.0"
-
irmin-unix
>= "1.2.0" & < "2.0.0"
-
irmin-watcher
>= "0.3.0"
-
logs
>= "0.5.0"
-
logtk
>= "2.1"
- metrics-unix
-
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
- OCanren
-
odig
>= "0.0.2" & < "0.0.4"
-
opium
>= "0.19.0"
-
progress
< "0.2.2"
- pvec
- regenerate
-
terminal
< "0.2.2"
-
tezos-stdlib-unix
< "16.0"
Conflicts (1)
-
js_of_ocaml
>= "3.4.0"