43 references to CounterEntry
System (43)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (43)
39private static readonly int CounterEntrySize = Marshal.SizeOf(typeof(CounterEntry)); 87private unsafe CounterEntry* counterEntryPointer; 261CounterEntry* newCounterEntryPointer = (CounterEntry*) nextPtr; 294CounterEntry* previousCounterEntryPointer; 367CounterEntry* newCounterEntryPointer = (CounterEntry*) nextPtr; 393CounterEntry* firstCounterInCategoryPointer = (CounterEntry*) ResolveOffset(firstInstanceInCategoryPointer->FirstCounterOffset, CounterEntrySize); 399CounterEntry* previousCounterEntryPointer; 405firstCounterInCategoryPointer = (CounterEntry*) ResolveOffset(firstCounterInCategoryPointer->NextCounterOffset, CounterEntrySize); 415CounterEntry* previousCounterEntryPointer = null; 450private unsafe int CreateCounter(CounterEntry* lastCounterPointer, 453int totalSize = sizeof(CounterEntry) + counterNameLength; 463CounterEntry* newCounterEntryPointer = (CounterEntry*) nextPtr; 464nextPtr += sizeof(CounterEntry); 712private unsafe CounterEntry* GetCounter(string counterName, string instanceName, bool enableReuse, PerformanceCounterInstanceLifetime lifetime) { 723CounterEntry* counterPointer = null; 806return (CounterEntry*) (ResolveOffset(newCounterOffset, CounterEntrySize)); 870private unsafe bool FindCounter(int counterNameHashCode, string counterName, InstanceEntry* instancePointer, CounterEntry** returnCounterPointerReference) { 871CounterEntry* currentCounterPointer = (CounterEntry*)(ResolveOffset(instancePointer->FirstCounterOffset, CounterEntrySize)); 872CounterEntry* previousCounterPointer = currentCounterPointer; 883currentCounterPointer = (CounterEntry*)(ResolveOffset(currentCounterPointer->NextCounterOffset, CounterEntrySize)); 952CounterEntry* firstCounter = (CounterEntry*) ResolveOffset(currentInstancePointer->FirstCounterOffset, CounterEntrySize); 1085CounterEntry* counterPointer = (CounterEntry*)ResolveOffset(currentInstancePointer->FirstCounterOffset, CounterEntrySize); 1193CounterEntry* counter = (CounterEntry*) ResolveOffset(currentInstancePointer->FirstCounterOffset, CounterEntrySize); 1262CounterEntry* counterEntry = this.counterEntryPointer; 1349CounterEntry* firstCounter = (CounterEntry*) ResolveOffset(instancePointer->FirstCounterOffset, CounterEntrySize); 1413CounterEntry* currentCounterPointer = null; 1416currentCounterPointer = (CounterEntry*)(ResolveOffset(instancePointer->FirstCounterOffset, CounterEntrySize)); 1422currentCounterPointer = (CounterEntry*)(ResolveOffset(currentCounterPointer->NextCounterOffset, CounterEntrySize)); 1430private static unsafe long AddToValue(CounterEntry* counterEntry, long addend) { 1453private static unsafe long DecrementUnaligned(CounterEntry* counterEntry) { 1460private static unsafe long GetValue(CounterEntry* counterEntry) { 1474private static unsafe long IncrementUnaligned(CounterEntry* counterEntry) { 1481private static unsafe void SetValue(CounterEntry* counterEntry, long value) { 1492private static unsafe bool IsMisaligned(CounterEntry* counterEntry) {