start

open fun start(block: () -> String): Double

Starts a measurement block and records the start time.

Return

The measured time duration in seconds.

Parameters

block

The block of code that starts the measure, the result of which is used as a label or event.