abstract class NanoClock
Clock interface with nanosecond precision and no guarantee about its origin (that is, this is only suited for measuring relative/elapsed time).
NanoClock()
Clock interface with nanosecond precision and no guarantee about its origin (that is, this is only suited for measuring relative/elapsed time). |
abstract fun seconds(): Double
Returns the number of seconds since an arbitrary (yet consistent) origin. |
fun system(): NanoClock
Returns a NanoClock backed by System.nanoTime. |