Join Slack
Powered by
Is there a replacement for JVM's `System.nanoTime`...
# multiplatform
e
Edoardo Luppi
12/13/2023, 10:42 AM
Is there a replacement for JVM's
System.nanoTime
in kotlinx-datetime?
m
Michael Paus
12/13/2023, 11:20 AM
Does this help?
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.system/get-time-nanos.html#
e
Edoardo Luppi
12/13/2023, 11:22 AM
Thanks Michael! That's not it, however you made me realize we now have better ways of measuring time:
measuseTime
and
measureTimedValue
2
Views
Open in Slack
Previous
Next