11 references to CounterType
System.Core (1)
System.Core.cs (1)
63
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.
CounterType
))]
System.Diagnostics.PerformanceCounter (10)
System\Diagnostics\PerformanceData\CounterSet.cs (5)
26
internal Dictionary<int,
CounterType
> _idToCounter;
48
_idToCounter = new Dictionary<int,
CounterType
>();
91
public void AddCounter(int counterId,
CounterType
counterType)
127
public void AddCounter(int counterId,
CounterType
counterType, string counterName)
229
foreach (KeyValuePair<int,
CounterType
> CounterDef in _idToCounter)
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
133
foreach (KeyValuePair<int,
CounterType
> CounterDef in _instance._counterSet._idToCounter)
System\Diagnostics\PerformanceData\PerfProviderCollection.cs (4)
36
private static readonly
CounterType
[] s_counterTypes = Enum.GetValues<
CounterType
>();
114
internal static bool ValidateCounterType(
CounterType
inCounterType)
116
foreach (
CounterType
DefinedCounterType in s_counterTypes)