package mtime
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=687564bcddf22b096f9ac7b5f7f24bd7c62f70da6b8daa9dfdf08d3ff196a17e
md5=f3f4c1333c0f74fc27b05c35b9c0dab9
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.2.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
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 (54)
-
acgtk
>= "1.5.0" & < "2.0.0"
- archsat
- awa
- awa-lwt
- awa-mirage
- bos
- cactus
-
cca
< "0.7"
-
charrua-unix
>= "0.9"
-
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"
-
eio
< "0.8.1"
- electrod
-
git
>= "1.11.0" & < "3.0.0"
-
git-mirage
>= "1.11.0" & < "3.0.0"
-
git-unix
>= "1.11.1"
- 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"
-
plebeia
>= "2.0.0"
-
progress
< "0.2.2"
- pvec
- regenerate
-
terminal
< "0.2.2"
-
tezos-stdlib-unix
< "16.0"
Conflicts (1)
-
js_of_ocaml
<= "3.3.0"