58 references to CounterEntry
System.Diagnostics.PerformanceCounter (58)
System\Diagnostics\SharedPerformanceCounter.cs (58)
78private readonly unsafe CounterEntry* _counterEntryPointer; 211totalSize = sizeof(CategoryEntry) + sizeof(InstanceEntry) + (sizeof(CounterEntry) * _categoryData.CounterNames.Count) + categoryNameLength; 268CounterEntry* newCounterEntryPointer = (CounterEntry*)nextPtr; 269nextPtr += sizeof(CounterEntry) * _categoryData.CounterNames.Count; 302CounterEntry* previousCounterEntryPointer; 339int totalSize = sizeof(InstanceEntry) + (sizeof(CounterEntry) * _categoryData.CounterNames.Count); 380CounterEntry* newCounterEntryPointer = (CounterEntry*)nextPtr; 381nextPtr += sizeof(CounterEntry) * _categoryData.CounterNames.Count; 407CounterEntry* firstCounterInCategoryPointer = (CounterEntry*)ResolveOffset(firstInstanceInCategoryPointer->FirstCounterOffset, sizeof(CounterEntry)); 413CounterEntry* previousCounterEntryPointer; 420firstCounterInCategoryPointer = (CounterEntry*)ResolveOffset(firstCounterInCategoryPointer->NextCounterOffset, sizeof(CounterEntry)); 431CounterEntry* previousCounterEntryPointer = null; 468private unsafe int CreateCounter(CounterEntry* lastCounterPointer, 472int totalSize = sizeof(CounterEntry) + counterNameLength; 482CounterEntry* newCounterEntryPointer = (CounterEntry*)nextPtr; 483nextPtr += sizeof(CounterEntry); 738private unsafe CounterEntry* GetCounter(string counterName, string instanceName, bool enableReuse, PerformanceCounterInstanceLifetime lifetime) 751CounterEntry* counterPointer = null; 849return (CounterEntry*)(ResolveOffset(newCounterOffset, sizeof(CounterEntry))); 924private unsafe bool FindCounter(int counterNameHashCode, string counterName, InstanceEntry* instancePointer, CounterEntry** returnCounterPointerReference) 926CounterEntry* currentCounterPointer = (CounterEntry*)(ResolveOffset(instancePointer->FirstCounterOffset, sizeof(CounterEntry))); 927CounterEntry* previousCounterPointer = currentCounterPointer; 941currentCounterPointer = (CounterEntry*)(ResolveOffset(currentCounterPointer->NextCounterOffset, sizeof(CounterEntry))); 989int totalSize = sizeof(InstanceEntry) + sizeof(ProcessLifetimeEntry) + InstanceNameSlotSize + (sizeof(CounterEntry) * _categoryData.CounterNames.Count); 1020CounterEntry* firstCounter = (CounterEntry*)ResolveOffset(currentInstancePointer->FirstCounterOffset, sizeof(CounterEntry)); 1168CounterEntry* counterPointer = (CounterEntry*)ResolveOffset(currentInstancePointer->FirstCounterOffset, sizeof(CounterEntry)); 1278CounterEntry* counter = (CounterEntry*)ResolveOffset(currentInstancePointer->FirstCounterOffset, sizeof(CounterEntry)); 1362CounterEntry* counterEntry = _counterEntryPointer; 1456CounterEntry* firstCounter = (CounterEntry*)ResolveOffset(instancePointer->FirstCounterOffset, sizeof(CounterEntry)); 1529CounterEntry* currentCounterPointer = null; 1532currentCounterPointer = (CounterEntry*)(ResolveOffset(instancePointer->FirstCounterOffset, sizeof(CounterEntry))); 1539currentCounterPointer = (CounterEntry*)(ResolveOffset(currentCounterPointer->NextCounterOffset, sizeof(CounterEntry))); 1546private static unsafe long AddToValue(CounterEntry* counterEntry, long addend) 1571private static unsafe long DecrementUnaligned(CounterEntry* counterEntry) 1579private static unsafe long GetValue(CounterEntry* counterEntry) 1595private static unsafe long IncrementUnaligned(CounterEntry* counterEntry) 1603private static unsafe void SetValue(CounterEntry* counterEntry, long value) 1615private static unsafe bool IsMisaligned(CounterEntry* counterEntry)