API Reference
Class
BenchmarkExecutionTargetResolver
Builds consistent execution contexts for Windows and workload-specific benchmark targets.
Inheritance
- Object
- BenchmarkExecutionTargetResolver
Constructors
public BenchmarkExecutionTargetResolver(BenchmarkProviderRegistry providers = null) #Initializes the resolver over the built-in or supplied provider registry.
Parameters
- providers TestimoX.Benchmarks.Providers.BenchmarkProviderRegistry = null
Methods
Resolve 2 overloads
public BenchmarkExecutionTargetContext Resolve(BenchmarkTarget target, Boolean collectInstalledFeatures = false, IEnumerable<BenchmarkWorkloadRole> declaredWorkloads = null) #Returns:
BenchmarkExecutionTargetContextDiscovers product facts and collects host facts for one typed target.
Parameters
- target TestimoX.Benchmarks.Targets.BenchmarkTarget
- collectInstalledFeatures System.Boolean = false
- declaredWorkloads System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkWorkloadRole} = null
public BenchmarkExecutionTargetContext Resolve(BenchmarkTarget target, BenchmarkPack pack, BenchmarkSelection selection, IEnumerable<BenchmarkWorkloadRole> declaredWorkloads = null) #Returns:
BenchmarkExecutionTargetContextDiscovers one target and collects every host fact required by the exact benchmark selection.
Parameters
- target TestimoX.Benchmarks.Targets.BenchmarkTarget
- Typed resource to resolve.
- pack TestimoX.Benchmarks.BenchmarkPack
- Benchmark pack that owns the selection.
- selection TestimoX.Benchmarks.Execution.BenchmarkSelection
- Exact benchmark selection being assessed or changed.
- declaredWorkloads System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkWorkloadRole} = null
- Optional authoritative workload declarations from discovery or the operator.
Inherited Methods
Properties
public BenchmarkProviderRegistry Providers { get; } #Gets the provider registry that must also be used by assessment and transaction engines.