Exemple #1
0
 public GenericPerformanceMonitorCounterDiscoverer()
 {
     _performanceMonitorCounter = new T();
     _pmcId = PerformanceMetric.GetProfileSourceInfoId(_performanceMonitorCounter.Name);
 }
Exemple #2
0
 public InstructionsRetiredMetricDiscoverer()
 {
     ProfileSource = PerformanceMetric.GetProfileSourceInfoId(CounterName);
 }