markNow

abstract fun markNow(): TimeMark(source)

Marks a point in time on this time source.

The returned TimeMark instance encapsulates the captured time point and allows querying the duration of time interval elapsed from that point.

Since Kotlin

1.9