withTrace

expect inline fun <T> withTrace(function: KFunction<*>, args: Array<Any?>, traceAnnotation: Trace, crossinline block: () -> T): T(source)

Executes the given block within a tracing span.

This function is generated and invoked by the Tracy compiler plugin when transforming functions annotated with Trace.

This function is not intended to be called directly.