TimeSource
Types
Link copied to clipboard
The most precise time source available in the platform.
Since Kotlin 1.9
Link copied to clipboard
A TimeSource that returns time marks that can be compared for difference with each other.
Since Kotlin 1.9
Functions
Link copied to clipboard
Creates a Clock that uses the TimeMark.markNow to determine how far the current moment is from the origin.
Since Kotlin 2.2
Link copied to clipboard
Executes the given function block and returns the duration of the elapsed time interval.
Since Kotlin 1.9
Link copied to clipboard
Executes the given function block and returns an instance of TimedValue class, containing both the result of function execution and the duration of the elapsed time interval.
Since Kotlin 1.9