Beispiel #1
0
 static void ProcessImages()
 {
     Console.WriteLine("Starting image processing sequentially");
     CreatingPerformanceCounters.SequentialTest();
     Console.WriteLine("Processed sequentially. Starting in parallel");
     CreatingPerformanceCounters.ParallelTest();
     Console.WriteLine("Processed in parallel");
     ImagesProcessingDone = true;
 }
Beispiel #2
0
 static CounterSetupResult SetupCounters()
 {
     return(CreatingPerformanceCounters.SetupCounters());
 }