Mojo function
now
now() -> Int
Deprecated: Please use time.perf_counter_ns instead.
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!