WithComparableMarks

A TimeSource that returns time marks that can be compared for difference with each other.

Since Kotlin

1.8

Inheritors

Functions

Link copied to clipboard
abstract override fun markNow(): ComparableTimeMark

Marks a point in time on this time source.

Since Kotlin 1.8
Link copied to clipboard

Executes the given function block and returns the duration of elapsed time interval.

Since Kotlin 1.3
Link 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.

Since Kotlin 1.3