/// <summary>Initializes a new instance of the <see cref="InProcessToolchain" /> class.</summary> /// <param name="timeout">Timeout for the run.</param> /// <param name="codegenMode">Describes how benchmark action code is generated.</param> /// <param name="logOutput"><c>true</c> if the output should be logged.</param> public InProcessToolchain(TimeSpan timeout, BenchmarkActionCodegen codegenMode, bool logOutput) { Generator = new InProcessGenerator(); Builder = new InProcessBuilder(); Executor = new InProcessExecutor(timeout, codegenMode, logOutput); }
/// <summary>Initializes a new instance of the <see cref="InProcessToolchain"/> class.</summary> /// <param name="logOutput"><c>true</c> if the output should be logged.</param> private InProcessToolchain(bool logOutput) { Generator = new InProcessGenerator(); Builder = new InProcessBuilder(); Executor = new InProcessExecutor(TimeSpan.FromMinutes(5), logOutput); }