services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (37)
38private static readonly int InstanceEntrySize = Marshal.SizeOf(typeof(InstanceEntry));
239InstanceEntry* newInstanceEntryPointer;
249newInstanceEntryPointer = (InstanceEntry*) nextPtr;
255newInstanceEntryPointer = (InstanceEntry*) nextPtr;
362InstanceEntry* newInstanceEntryPointer = (InstanceEntry*) nextPtr;
392InstanceEntry* firstInstanceInCategoryPointer = (InstanceEntry*) ResolveOffset(categoryPointer->FirstInstanceOffset, InstanceEntrySize);
724InstanceEntry* instancePointer = null;
749instancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, InstanceEntrySize));
758InstanceEntry* lockInstancePointer = instancePointer;
779instancePointer = (InstanceEntry*)(ResolveOffset(newInstanceOffset, InstanceEntrySize));
870private unsafe bool FindCounter(int counterNameHashCode, string counterName, InstanceEntry* instancePointer, CounterEntry** returnCounterPointerReference) {
894CategoryEntry* categoryPointer, InstanceEntry** returnInstancePointerReference,
898InstanceEntry* currentInstancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, InstanceEntrySize));
899InstanceEntry* previousInstancePointer = currentInstancePointer;
1015currentInstancePointer = (InstanceEntry*)(ResolveOffset(currentInstancePointer->NextInstanceOffset, InstanceEntrySize));
1031CategoryEntry* categoryPointer, InstanceEntry** returnInstancePointerReference,
1033InstanceEntry* lockInstancePointer) {
1037InstanceEntry* currentInstancePointer = (InstanceEntry*)(ResolveOffset(categoryPointer->FirstInstanceOffset, InstanceEntrySize));
1038InstanceEntry* previousInstancePointer = currentInstancePointer;
1103currentInstancePointer = (InstanceEntry*)(ResolveOffset(currentInstancePointer->NextInstanceOffset, InstanceEntrySize));
1159InstanceEntry* currentInstancePointer = (InstanceEntry*) ResolveOffset(currentCategoryPointer->FirstInstanceOffset, InstanceEntrySize);
1171VerifyInstance((InstanceEntry*) ResolveOffset(currentCategoryPointer->FirstInstanceOffset, InstanceEntrySize));
1178private unsafe void VerifyInstance(InstanceEntry* currentInstancePointer) {
1185VerifyInstance((InstanceEntry*) ResolveOffset(currentInstancePointer->NextInstanceOffset, InstanceEntrySize));
1190private unsafe void VerifyLifetime(InstanceEntry* currentInstancePointer) {
1294InstanceEntry* instancePointer = (InstanceEntry *)(ResolveOffset(categoryPointer->FirstInstanceOffset, InstanceEntrySize));
1304instancePointer = (InstanceEntry*)(ResolveOffset(instancePointer->NextInstanceOffset, InstanceEntrySize));
1331InstanceEntry* instancePointer = null;
1343instancePointer = (InstanceEntry*)(ResolveOffset(this.thisInstanceOffset, InstanceEntrySize));
1389private unsafe void RemoveOneInstance(InstanceEntry* instancePointer, bool clearValue) {
1411private unsafe void ClearCounterValues(InstanceEntry* instancePointer) {