1// Signature format: 4.0 2package androidx.benchmark.junit4 { 3 4 public class AndroidBenchmarkRunner extends androidx.test.runner.AndroidJUnitRunner { 5 ctor public AndroidBenchmarkRunner(); 6 } 7 8 public final class BenchmarkRule implements org.junit.rules.TestRule { 9 ctor public BenchmarkRule(); 10 ctor @SuppressCompatibility @androidx.benchmark.ExperimentalBenchmarkConfigApi public BenchmarkRule(androidx.benchmark.MicrobenchmarkConfig config); 11 method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description); 12 method public androidx.benchmark.BenchmarkState getState(); 13 } 14 15 public final class BenchmarkRule.Scope { 16 method public inline <T> T runWithTimingDisabled(kotlin.jvm.functions.Function0<? extends T> block); 17 } 18 19 public final class BenchmarkRuleKt { 20 method public static inline void measureRepeated(androidx.benchmark.junit4.BenchmarkRule, kotlin.jvm.functions.Function1<? super androidx.benchmark.junit4.BenchmarkRule.Scope,kotlin.Unit> block); 21 } 22 23 @SuppressCompatibility @androidx.benchmark.perfetto.ExperimentalPerfettoCaptureApi public final class PerfettoTraceRule implements org.junit.rules.TestRule { 24 ctor public PerfettoTraceRule(optional boolean enableAppTagTracing, optional boolean enableUserspaceTracing, optional kotlin.jvm.functions.Function1<? super androidx.benchmark.perfetto.PerfettoTrace,kotlin.Unit>? traceCallback); 25 method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description); 26 method public boolean getEnableAppTagTracing(); 27 method public boolean getEnableUserspaceTracing(); 28 method public kotlin.jvm.functions.Function1<androidx.benchmark.perfetto.PerfettoTrace,kotlin.Unit>? getTraceCallback(); 29 property public final boolean enableAppTagTracing; 30 property public final boolean enableUserspaceTracing; 31 property public final kotlin.jvm.functions.Function1<androidx.benchmark.perfetto.PerfettoTrace,kotlin.Unit>? traceCallback; 32 } 33 34} 35 36