elapsedSince

abstract fun elapsedSince(event: String): Duration?

Returns the duration elapsed since a specific event was marked.

Return

The duration elapsed since the event, or null if the event doesn't exist.

Parameters

event

The event name to measure the elapsed time from.