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.
Mtime_clock library provide access to a system monotonic
Mtime has no dependencies.
Mtime_clock depends on your system library.