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