コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }