コード例 #1
0
 public void Calibration_100ms(MetricCollector collector)
 {
     using (collector.StartCollection())
     {
         Thread.Sleep(100);
     }
 }
コード例 #2
0
 public void ColdStartSandbox_100ms(MetricCollector collector)
 {
     using (var sandbox = new ColdStartSandbox())
     {
         var testClass = sandbox.CreateInstance<ColdStartEnabledTests>();
         testClass.Sleep100ms(collector);
     }
 }
コード例 #3
0
 public Scope(MetricCollector collector)
 {
     _collector = collector;
 }
コード例 #4
0
 public void Aggregate(RunSummary other, MetricCollector collector)
 {
     Aggregate(other);
     TimeElapsed = collector.TimeElapsed;
     MemoryDelta = collector.MemoryDelta;
 }
コード例 #5
0
 public Scope(MetricCollector collector)
 {
     _collector = collector;
 }
コード例 #6
0
 public void Aggregate(RunSummary other, MetricCollector collector)
 {
     Aggregate(other);
     TimeElapsed = collector.TimeElapsed;
     MemoryDelta = collector.MemoryDelta;
 }