Skip to main content
Log in

Mojo function

monotonic

monotonic() -> UInt

Returns the current monotonic time time in nanoseconds. This function queries the current platform's monotonic clock, making it useful for measuring time differences, but the significance of the returned value varies depending on the underlying implementation.

Returns:

The current time in ns.