13 references to
System.Diagnostics.PerformanceCounter (13)
System\Diagnostics\CounterCreationDataCollection.cs (1)
59Add(value[i]);
System\Diagnostics\PerformanceCounterCategory.cs (10)
299if (string.IsNullOrEmpty(counterData[i].CounterName)) 304int currentSampleType = (int)counterData[i].CounterType; 318currentSampleType = (int)counterData[i + 1].CounterType; 331currentSampleType = (int)counterData[i - 1].CounterType; 346if (h.ContainsKey(counterData[i].CounterName)) 348throw new ArgumentException(SR.Format(SR.DuplicateCounterName, counterData[i].CounterName)); 352h.Add(counterData[i].CounterName, string.Empty); 355if (string.IsNullOrEmpty(counterData[i].CounterHelp)) 357counterData[i].CounterHelp = counterData[i].CounterName;
System\Diagnostics\PerformanceCounterLib.cs (2)
537counters[i] = creationData[i].CounterName; 538counterTypes[i] = ((int)creationData[i].CounterType).ToString(CultureInfo.InvariantCulture);