package mirage-clock-lwt
Libraries and module types for two kinds of clocks:
Install
Dune Dependency
Authors
Maintainers
Sources
mirage-clock-lwt-1.2.0.tbz
sha256=9a89a5e141d469919d9fd32bb99b5446348063f9bd70d8f97b10475657422877
md5=e791c0a71f29c2cde9239daaa173677d
Description
- clocks which give a full date and time (PCLOCK)
- clocks which give a count of time elapsed since the clock started, guaranteed to always increase (MCLOCK)
These are primarily useful in the context of Mirage projects.
README
README.md
This library implements portable support for an operating system timesource that is compatible with the MirageOS library interfaces found in: https://github.com/mirage/mirage
It implements an MCLOCK
module that represents a monotonic timesource since an arbitrary point, and PCLOCK
which counts time since the Unix epoch.
The following sources are used:
The Unix version uses
gettimeofday
orclock_gettime
, depending on which OS is in use (see clock_stubs.c).The freestanding version uses the paravirtual clock source from the hypervisor.
Dependencies (6)
- lwt
-
mirage-clock
= "1.2.0"
-
topkg
build & >= "0.8.0"
-
ocamlbuild
build
-
ocamlfind
build
- ocaml
Dev Dependencies
None
Used by (7)
-
dns-forward
>= "0.9.0"
-
mirage-clock-freestanding
< "3.0.0"
-
mirage-clock-unix
>= "1.2.0" & < "3.0.0"
-
mirage-nat
< "2.0.0"
-
mirage-types-lwt
>= "3.0.0" & < "3.4.0"
-
mirage-vnetif
>= "0.3.1" & < "0.5.0"
-
tcpip
>= "3.0.0" & < "4.0.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page