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