elapsedNow

Common
JVM
JS
Native
1.0
abstract fun elapsedNow(): Duration

Returns the amount of time passed from this clock mark on the clock from which this mark was taken.

Note that the value returned by this function can change on subsequent invocations.