package mirage-mtime

  1. Overview
  2. Docs
Libraries and module types for a monotonic clock

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-mtime-5.1.0.tbz
sha256=e5ffba272dd75c9e40ed8ccbbf87d9614345c3adb7bfe95dd170a3c6e367deae
sha512=9ac59431e7e2c38ea66eda555778c2f19ac86665bfa5729a8b991e359cb5c8650b77e715c2c429d94c3cd26a5977b7e55b36e704cf4cb9393c291178792680eb

doc/src/mirage-mtime.set/mirage_mtime_set.ml.html

Source file mirage_mtime_set.ml

1
2
3
4
let now = ref 0L
let tick () = now := Int64.add !now 1L
let tick_for v = now := Int64.add !now v
let reset () = now := 0L
OCaml

Innovation. Community. Security.