measureTimeMicros

Native
1.3
@DeprecatedSinceKotlin ( "1.9" ) inline fun measureTimeMicros (
block : ( ) -> Unit
) : Long

(source)
Deprecated: Use measureTime() instead.

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 .