55 references to InstanceEntry
System.Diagnostics.PerformanceCounter (55)
System\Diagnostics\SharedPerformanceCounter.cs (55)
211totalSize = sizeof(CategoryEntry) + sizeof(InstanceEntry) + (sizeof(CounterEntry) * _categoryData.CounterNames.Count) + categoryNameLength; 244InstanceEntry* newInstanceEntryPointer; 255newInstanceEntryPointer = (InstanceEntry*)nextPtr; 262newInstanceEntryPointer = (InstanceEntry*)nextPtr; 264nextPtr += sizeof(InstanceEntry); 339int totalSize = sizeof(InstanceEntry) + (sizeof(CounterEntry) * _categoryData.CounterNames.Count); 375InstanceEntry* newInstanceEntryPointer = (InstanceEntry*)nextPtr; 376nextPtr += sizeof(InstanceEntry); 406InstanceEntry* firstInstanceInCategoryPointer = (InstanceEntry*)ResolveOffset(categoryPointer->FirstInstanceOffset, sizeof(InstanceEntry)); 752InstanceEntry* instancePointer = null; 781instancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, sizeof(InstanceEntry))); 791InstanceEntry* lockInstancePointer = instancePointer; 816instancePointer = (InstanceEntry*)(ResolveOffset(newInstanceOffset, sizeof(InstanceEntry))); 868_thisInstanceOffset = ResolveAddress((byte*)instancePointer, sizeof(InstanceEntry)); 924private unsafe bool FindCounter(int counterNameHashCode, string counterName, InstanceEntry* instancePointer, CounterEntry** returnCounterPointerReference) 951CategoryEntry* categoryPointer, InstanceEntry** returnInstancePointerReference, 956InstanceEntry* currentInstancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, sizeof(InstanceEntry))); 957InstanceEntry* previousInstancePointer = currentInstancePointer; 989int totalSize = sizeof(InstanceEntry) + sizeof(ProcessLifetimeEntry) + InstanceNameSlotSize + (sizeof(CounterEntry) * _categoryData.CounterNames.Count); 1091currentInstancePointer = (InstanceEntry*)(ResolveOffset(currentInstancePointer->NextInstanceOffset, sizeof(InstanceEntry))); 1107CategoryEntry* categoryPointer, InstanceEntry** returnInstancePointerReference, 1109InstanceEntry* lockInstancePointer) 1112InstanceEntry* currentInstancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, sizeof(InstanceEntry))); 1113InstanceEntry* previousInstancePointer = currentInstancePointer; 1187currentInstancePointer = (InstanceEntry*)(ResolveOffset(currentInstancePointer->NextInstanceOffset, sizeof(InstanceEntry))); 1247InstanceEntry* currentInstancePointer = (InstanceEntry*)ResolveOffset(currentCategoryPointer->FirstInstanceOffset, sizeof(InstanceEntry)); 1256VerifyInstance((InstanceEntry*)ResolveOffset(currentCategoryPointer->FirstInstanceOffset, sizeof(InstanceEntry))); 1263private unsafe void VerifyInstance(InstanceEntry* currentInstancePointer) 1271VerifyInstance((InstanceEntry*)ResolveOffset(currentInstancePointer->NextInstanceOffset, sizeof(InstanceEntry))); 1274private unsafe void VerifyLifetime(InstanceEntry* currentInstancePointer) 1396InstanceEntry* instancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, sizeof(InstanceEntry))); 1407instancePointer = (InstanceEntry*)(ResolveOffset(instancePointer->NextInstanceOffset, sizeof(InstanceEntry))); 1435InstanceEntry* instancePointer = null; 1449instancePointer = (InstanceEntry*)(ResolveOffset(_thisInstanceOffset, sizeof(InstanceEntry))); 1500private unsafe void RemoveOneInstance(InstanceEntry* instancePointer, bool clearValue) 1526private unsafe void ClearCounterValues(InstanceEntry* instancePointer)