mark

abstract fun mark(event: String, block: () -> String): Double

Marks a specific event in the measurement process.

Return

The measured time at the point of the event in seconds.

Parameters

event

The name of the event to be marked.

block

The block of code associated with the event.