5 references to InstanceNameSlotSize
System.Diagnostics.PerformanceCounter (5)
System\Diagnostics\SharedPerformanceCounter.cs (5)
219
instanceNameLength =
InstanceNameSlotSize
;
346
instanceNameLength =
InstanceNameSlotSize
;
989
int totalSize = sizeof(InstanceEntry) + sizeof(ProcessLifetimeEntry) +
InstanceNameSlotSize
+ (sizeof(CounterEntry) * _categoryData.CounterNames.Count);
1124
instanceNamePtr = (char*)ResolveOffset(currentInstancePointer->InstanceNameOffset,
InstanceNameSlotSize
);
1127
Debug.Assert(((instanceName.Length + 1) * 2) <=
InstanceNameSlotSize
, "The instance name length should always fit in our slot size");