Home
last modified time | relevance | path

Searched refs:benchmarkMethodNames (Results 1 – 5 of 5) sorted by relevance

/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperimentingRunnerModule.java240 ImmutableSet<String> benchmarkMethodNames = options.benchmarkMethodNames(); in provideInstrumentations() local
241 Set<String> unusedBenchmarkNames = new HashSet<String>(benchmarkMethodNames); in provideInstrumentations()
244 if (benchmarkMethodNames.isEmpty() || benchmarkMethodNames.contains(method.getName())) { in provideInstrumentations()
265 Set<String> benchmarkMethodNames = new HashSet<String>(); in findAllBenchmarkMethods() local
271 if (!benchmarkMethodNames.add(method.getName())) { in findAllBenchmarkMethods()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DExperimentingRunnerModuleTest.java62 when(options.benchmarkMethodNames()).thenReturn(ImmutableSet.<String>of()); in provideInstrumentations_noNames()
79 when(options.benchmarkMethodNames()).thenReturn(ImmutableSet.of("b"), in provideInstrumentations_withNames()
102 when(options.benchmarkMethodNames()).thenReturn( in provideInstrumentations_withInvalidName()
/external/caliper/caliper/src/test/java/com/google/caliper/options/
DParsedOptionsTest.java116 assertTrue(options.benchmarkMethodNames().isEmpty()); in checkDefaults()
150 assertEquals(ImmutableSet.of("foo", "bar", "qux"), options.benchmarkMethodNames()); in testKitchenSink()
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DCaliperOptions.java26 ImmutableSet<String> benchmarkMethodNames(); in benchmarkMethodNames() method
DParsedOptions.java106 @Override public ImmutableSet<String> benchmarkMethodNames() { in benchmarkMethodNames() method in ParsedOptions
352 .add("benchmarkMethodNames", this.benchmarkMethodNames()) in toString()