2 instantiations of SharedPerformanceCounter
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\PerformanceCounter.cs (1)
520
_sharedCounter = new
SharedPerformanceCounter
(currentCategoryName.ToLowerInvariant(), _counterName.ToLowerInvariant(), _instanceName.ToLowerInvariant(), _instanceLifetime);
System\Diagnostics\SharedPerformanceCounter.cs (1)
1385
SharedPerformanceCounter spc = new
SharedPerformanceCounter
(categoryName, null, null);
7 references to SharedPerformanceCounter
System.Diagnostics.PerformanceCounter (7)
System\Diagnostics\DiagnosticsConfiguration.cs (1)
19
return
SharedPerformanceCounter
.DefaultCountersFileMappingSize;
System\Diagnostics\PerformanceCounter.cs (1)
36
private
SharedPerformanceCounter
_sharedCounter;
System\Diagnostics\PerformanceCounterCategory.cs (2)
250
if (categoryName.Length > (1024 -
SharedPerformanceCounter
.DefaultFileMappingName.Length))
380
SharedPerformanceCounter
.RemoveAllInstances(categoryName);
System\Diagnostics\PerformanceCounterLib.cs (2)
1733
if (instanceName.Length >
SharedPerformanceCounter
.InstanceNameMaxLength)
1734
instanceName = instanceName.Substring(0,
SharedPerformanceCounter
.InstanceNameMaxLength);
System\Diagnostics\SharedPerformanceCounter.cs (1)
1385
SharedPerformanceCounter
spc = new SharedPerformanceCounter(categoryName, null, null);