TraceKt

public final class TraceKt


Summary

Public methods

static final @NonNull T
<T extends Object> trace(String sectionName, Function0<T> block)

This method is deprecated. Use androidx.tracing.Trace instead

Public methods

trace

public static final @NonNull T <T extends Object> trace(String sectionName, Function0<T> block)

Wrap the specified block in calls to Trace.beginSection (with the supplied sectionName) and Trace.endSection.