monotonic:   monotonic clock for Racket
current-monotonic-nanoseconds
nanotime
7.6

monotonic: monotonic clock for Racket

Bogdan Popa <bogdan@defn.io>

This module provides a monotonic clock on POSIX systems that support CLOCK_MONOTONIC, macOS and 64bit Windows.

A monotonically-increasing value in nanoseconds since some unspecified time in the past.

Returns a monotonically-increasing value in nanoseconds since some unspecified time in the past.

Use this over the parameter if you need absolutely minimal overhead. It is 1.5x to 2x slower than current-inexact-milliseconds depending on the platform.