예제 #1
0
 public InitialState(TimeSpan totalExecutionTime)
 {
     TotalExecutionTime           = totalExecutionTime;
     Statistic                    = new BenchmarkStatistic(totalExecutionTime);
     TotalExecutionTimeStopwatch  = new Stopwatch();
     InvokeExecutionTimeStopwatch = new Stopwatch();
 }
 public void Aggregate(BenchmarkStatistic statistics)
 {
     _aggregationItems.Add(statistics);
 }