Monotonic
The most precise time source available in the platform.
This time source returns its readings from a source of monotonic time when it is available in a target platform, and resorts to a non-monotonic time source otherwise.
The function markNow of this time source returns the specialized ValueTimeMark that is an inline value class wrapping a platform-dependent time reading value.
Since Kotlin
1.3Types
A specialized kotlin.time.TimeMark returned by TimeSource.Monotonic.
Functions
Marks a point in time on this time source.
Executes the given block and returns an instance of TimedValue class, containing both the result of function execution and the duration of elapsed time interval.
Executes the given block and returns an instance of TimedValue class, containing both the result of function execution and the duration of elapsed time interval.