ktx / com.google.firebase.perf.ktx / com.google.firebase.perf.metrics.HttpMetric / trace

trace

inline fun HttpMetric.trace(block: HttpMetric.() -> Unit): Unit

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