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

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.