PerfettoCaptureWrapper

@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) public final class PerfettoCaptureWrapper


Wrapper for PerfettoCapture which does nothing below L.

Summary

Public constructors

Public methods

final @Nullable String
record(
    @NonNull String benchmarkName,
    int iteration,
    @NonNull List<@NonNull String> packages,
    @NonNull Function0<Unit> block
)

Public constructors

PerfettoCaptureWrapper

public final PerfettoCaptureWrapper()

Public methods

record

@Nullable
public final String record(
    @NonNull String benchmarkName,
    int iteration,
    @NonNull List<@NonNull String> packages,
    @NonNull Function0<Unit> block
)