ktx / com.google.firebase.perf.ktx / com.google.firebase.perf.metrics.Trace

Extensions for com.google.firebase.perf.metrics.Trace

trace

fun <T> Trace.trace(block: Trace.() -> T): T

Measures the time it takes to run the block wrapped by calls to start and stop using Trace.