measureTimeMicros
@DeprecatedSinceKotlin
(
"1.9"
)
inline
fun
measureTimeMicros
(
block
:
(
)
->
Unit
)
:
Long
(source)
Executes the given block and returns elapsed time in microseconds (Kotlin/Native only).
This function is deprecated. To measure the duration of execution of a block of code, use measureTime or measureTimedValue instead. The resulting Duration then can be expressed as a Long number of microseconds using Duration.inWholeMicroseconds .