package mtime
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=50658ca85ab1c2cfef4c518b8ceceb853ad50031e0df2b879386cf26bc25ddc1
md5=e3577e065a4c09d73b27f5625e321003
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. It is distributed under the BSD3 license.
README
Mtime — Monotonic wall-clock time for OCaml
Release 0.8.3
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 (3)
-
ocamlbuild
build
-
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