com.google.caliper.runner
Class FullCartesianScenarioSelection
java.lang.Object
com.google.caliper.runner.FullCartesianScenarioSelection
- All Implemented Interfaces:
- ScenarioSelection
public final class FullCartesianScenarioSelection
- extends Object
- implements ScenarioSelection
A set of scenarios
constructed by taking all possible combinations of benchmark
methods, user parameters, VM specs and VM arguments.
FullCartesianScenarioSelection
public FullCartesianScenarioSelection(Collection<BenchmarkMethod> benchmarkMethods,
Collection<VirtualMachine> vms,
com.google.common.collect.SetMultimap<String,String> userParameters,
com.google.common.collect.SetMultimap<String,String> vmArguments)
benchmarkMethods
public com.google.common.collect.ImmutableSet<BenchmarkMethod> benchmarkMethods()
- Specified by:
benchmarkMethods
in interface ScenarioSelection
vms
public com.google.common.collect.ImmutableSet<VirtualMachine> vms()
- Specified by:
vms
in interface ScenarioSelection
userParameters
public com.google.common.collect.ImmutableSetMultimap<String,String> userParameters()
- Specified by:
userParameters
in interface ScenarioSelection
vmArguments
public com.google.common.collect.ImmutableSetMultimap<String,String> vmArguments()
- Specified by:
vmArguments
in interface ScenarioSelection
buildScenarios
public com.google.common.collect.ImmutableSet<Scenario> buildScenarios()
- Specified by:
buildScenarios
in interface ScenarioSelection
selectionType
public String selectionType()
- Specified by:
selectionType
in interface ScenarioSelection
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.