Home
last modified time | relevance | path

Searched refs:scopeFactory (Results 1 – 3 of 3) sorted by relevance

/benchmark/benchmark-junit4/src/main/java/androidx/benchmark/junit4/
DBenchmarkRule.kt116 val scopeFactory: (MicrobenchmarkRunningState) -> MicrobenchmarkScope = { runningState -> in <lambda>() constant in androidx.benchmark.junit4.BenchmarkRule
227 scopeFactory = scopeFactory, // inflate custom Scope object to respect/maintain public API in measureRepeated()
264 scopeFactory = scopeFactory, // inflate custom Scope object to respect/maintain public API in measureRepeatedOnMainThread()
/benchmark/benchmark-common/src/main/java/androidx/benchmark/
DMicrobenchmark.kt267 private val scopeFactory: ScopeFactory, constant in Microbenchmark
275 scopeFactory: ScopeFactory = { runningState -> MicrobenchmarkScope(runningState) }, in runningState()
281 scopeFactory = scopeFactory,
297 private val scope = scopeFactory(state)
440 scopeFactory: ScopeFactory = { runningState -> MicrobenchmarkScope(runningState) }, in measureRepeatedImplWithTracing()
449 scopeFactory = scopeFactory,
/benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/
DMicrobenchmarkPhaseConfigTest.kt51 scopeFactory = { state: MicrobenchmarkRunningState -> in <lambda>()