3 instantiations of PerformanceCounter
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\PerformanceCounterWrapper.cs (1)
16_counter = new PerformanceCounter(categoryName, counterName, instanceName, readOnly: true);
System.Data.OleDb (1)
System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
103PerformanceCounter instance = new PerformanceCounter();
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\PerformanceCounterCategory.cs (1)
468counters[index] = new PerformanceCounter(_categoryName, counterNames[index], instanceName, _machineName, true);
10 references to PerformanceCounter
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\PerformanceCounterWrapper.cs (1)
12private readonly PerformanceCounter _counter;
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
509[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounter))]
System.Data.OleDb (4)
System\Data\ProviderBase\DbConnectionPoolCounters.cs (4)
93private PerformanceCounter? _instance; 103PerformanceCounter instance = new PerformanceCounter(); 123PerformanceCounter? instance = _instance; 129PerformanceCounter? instance = _instance;
System.Diagnostics.PerformanceCounter (4)
System\Diagnostics\PerformanceCounterCategory.cs (4)
445public PerformanceCounter[] GetCounters() 455public PerformanceCounter[] GetCounters(string instanceName) 466PerformanceCounter[] counters = new PerformanceCounter[counterNames.Length];