Time Source
See also
Types
Functions
Inheritors
Monotonic
Link copied to clipboard
AbstractLongTimeSource
Link copied to clipboard
AbstractDoubleTimeSource
Link copied to clipboard
Extensions
measure Time
Link copied to clipboard
Executes the given function block and returns the duration of elapsed time interval.
measure Timed Value
Link copied to clipboard
inline fun <T> TimeSource.measureTimedValue(block: () -> T): TimedValue<T>
Content copied to clipboard
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.