/// <summary> /// Constructs a new runner that will run the given suite /// with the given options. /// </summary> /// <param name="suite">The benchmark suite to run. Must be validated already.</param> /// <param name="options">The options governing the benchmark run</param> public Runner(BenchmarkRun suite, Options options, IDictionary <Benchmark, string> executableProbeMap, IDictionary <CoreClrVersion, PreparedCoreClrVersion> versionMap) { Debug.Assert(suite != null); Debug.Assert(options != null); m_run = suite; m_options = options; m_traceCollector = TraceCollectorFactory.Create(); m_executableProbeMap = executableProbeMap; m_versionMap = versionMap; }
internal void Execute(IExecutionContext context, ITraceCollector traceCollector) => Main.Data.Execute(context, traceCollector);