| // Signature format: 4.0 |
| package androidx.benchmark.junit4 { |
| |
| public class AndroidBenchmarkRunner extends androidx.test.runner.AndroidJUnitRunner { |
| ctor public AndroidBenchmarkRunner(); |
| } |
| |
| public final class BenchmarkRule implements org.junit.rules.TestRule { |
| ctor public BenchmarkRule(); |
| ctor @SuppressCompatibility @androidx.benchmark.ExperimentalBenchmarkConfigApi public BenchmarkRule(androidx.benchmark.MicrobenchmarkConfig config); |
| method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description); |
| method public androidx.benchmark.MicrobenchmarkConfig getConfig(); |
| method public androidx.benchmark.BenchmarkState getState(); |
| property public androidx.benchmark.MicrobenchmarkConfig config; |
| property @kotlin.PublishedApi internal androidx.benchmark.TestDefinition? testDefinition; |
| field @kotlin.PublishedApi internal androidx.benchmark.TestDefinition? testDefinition; |
| } |
| |
| public final class BenchmarkRule.Scope extends androidx.benchmark.MicrobenchmarkScope { |
| method @kotlin.PublishedApi internal androidx.benchmark.BenchmarkState getOuterState(); |
| method @Deprecated public inline <T> T runWithTimingDisabled(kotlin.jvm.functions.Function0<? extends T> block); |
| } |
| |
| public final class BenchmarkRuleKt { |
| method public static inline void measureRepeated(androidx.benchmark.junit4.BenchmarkRule, kotlin.jvm.functions.Function1<? super androidx.benchmark.junit4.BenchmarkRule.Scope,kotlin.Unit> block); |
| method public static inline void measureRepeatedOnMainThread(androidx.benchmark.junit4.BenchmarkRule, kotlin.jvm.functions.Function1<? super androidx.benchmark.junit4.BenchmarkRule.Scope,kotlin.Unit> block); |
| } |
| |
| @SuppressCompatibility @androidx.benchmark.perfetto.ExperimentalPerfettoCaptureApi public final class PerfettoTraceRule implements org.junit.rules.TestRule { |
| ctor public PerfettoTraceRule(androidx.benchmark.perfetto.PerfettoConfig config, optional boolean enableUserspaceTracing, optional kotlin.jvm.functions.Function1<? super androidx.benchmark.traceprocessor.PerfettoTrace,kotlin.Unit>? traceCallback); |
| ctor public PerfettoTraceRule(optional boolean enableAppTagTracing, optional boolean enableUserspaceTracing, optional kotlin.jvm.functions.Function1<? super androidx.benchmark.traceprocessor.PerfettoTrace,kotlin.Unit>? traceCallback); |
| method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description); |
| method public androidx.benchmark.perfetto.PerfettoConfig getConfig(); |
| method public boolean getEnableUserspaceTracing(); |
| method public kotlin.jvm.functions.Function1<androidx.benchmark.traceprocessor.PerfettoTrace,kotlin.Unit>? getTraceCallback(); |
| property public androidx.benchmark.perfetto.PerfettoConfig config; |
| property public boolean enableUserspaceTracing; |
| property public kotlin.jvm.functions.Function1<androidx.benchmark.traceprocessor.PerfettoTrace,kotlin.Unit>? traceCallback; |
| } |
| |
| } |
| |