package mtime
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=aba5bfc297af4d025732762f6522cc0004beb106d46e63c321cc078d203dafc9
md5=bd36b1821e1db62ccea5b47e6fb5be98
Description
Mtime is an OCaml module to access monotonic wall-clock time. It allows to measure time spans without being subject to operating system calendar time adjustments.
Mtime depends only on your platform system library. The optional JavaScript support depends on [js_of_ocaml][1]. It is distributed under the BSD3 license.
README
Mtime — Monotonic wall-clock time for OCaml
Release 0.8.0
Mtime is an OCaml module to access monotonic wall-clock time. It allows to measure time spans without being subject to operating system calendar time adjustments.
Mtime depends only on your platform system library. The optional JavaScript support depends on js_of_ocaml. It is distributed under the BSD3 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 by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
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 are located in the test
directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
The resulting binaries are in _build/test
.
test.native
tests the library, nothing should fail.
Dependencies (4)
-
ocamlbuild
build
-
js_of_ocaml
< "3.0"
-
ocamlfind
build
-
ocaml
>= "4.01.0" & < "4.06.0"
Dev Dependencies
None
Used by (30)
- archsat
-
awa
< "0.1.2"
-
awa-lwt
< "0.1.2"
-
awa-mirage
< "0.1.2"
- bos
-
cca
< "0.7"
-
charrua-unix
< "0.3" | >= "0.5" & < "0.9"
-
datakit
< "0.11.0"
-
datakit-bridge-github
< "0.11.0"
-
datakit-github
< "0.9.0"
- dns-forward
- electrod
-
git
>= "1.8.0" & < "1.10.0"
-
git-mirage
< "1.11.0"
-
git-unix
>= "1.10.0" & < "1.11.1"
-
index-bench
>= "1.4.0" & < "1.6.2"
-
irmin
>= "0.12.0" & < "1.2.0"
-
irmin-bench
>= "2.5.0" & < "3.8.0"
-
irmin-chunk
= "1.3.0"
-
irmin-containers
< "3.8.0"
-
irmin-pack
>= "2.3.0" & < "3.8.0"
-
irmin-watcher
= "0.2.0"
-
logs
>= "0.5.0"
-
message-switch
>= "1.4.0"
-
metrics-unix
= "0.2.0"
- mirage-crypto-rng-eio
-
odig
< "0.0.2"
-
progress
< "0.2.0"
- pvec
-
regenerate
< "0.2"
Conflicts
None