1 write to baseAddress
System (1)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
690
baseAddress
= (long) data.FileMapping.FileViewAddress;
36 references to baseAddress
System (36)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (36)
153
oldOffset = *((int *)
baseAddress
);
162
int endAddressMod8 = (int) (
baseAddress
+ newOffset) & 0x7;
166
} while (SafeNativeMethods.InterlockedCompareExchange((IntPtr)
baseAddress
, newOffset, oldOffset) != oldOffset);
189
int startAddressMod8 = (int) (
baseAddress
+ oldOffset) & 0x7;
224
freeMemoryOffset = *((int *)
baseAddress
);
268
newCounterEntryPointer->LifetimeOffset = (int)((long)newLifetimeEntry -
baseAddress
);
274
newCategoryEntryPointer->FirstInstanceOffset = (int)((long)newInstanceEntryPointer -
baseAddress
);
275
newCategoryEntryPointer->CategoryNameOffset = (int) (nextPtr -
baseAddress
);
281
newInstanceEntryPointer->FirstCounterOffset = (int)((long)newCounterEntryPointer -
baseAddress
);
283
newInstanceEntryPointer->InstanceNameOffset = (int) (nextPtr -
baseAddress
);
290
newCounterEntryPointer->CounterNameOffset = (int) (nextPtr -
baseAddress
);
302
newCounterEntryPointer->CounterNameOffset = (int) (nextPtr -
baseAddress
);
306
previousCounterEntryPointer->NextCounterOffset = (int)((long)newCounterEntryPointer -
baseAddress
);
309
Debug.Assert(nextPtr -
baseAddress
== freeMemoryOffset + totalSize + alignmentAdjustment, "We should have used all of the space we requested at this point");
311
int offset = (int) ((long) newCategoryEntryPointer -
baseAddress
);
318
*((int*)
baseAddress
) = newOffset;
344
freeMemoryOffset = *((int *)
baseAddress
);
374
newCounterEntryPointer->LifetimeOffset = (int)((long)newLifetimeEntry -
baseAddress
);
381
newInstanceEntryPointer->FirstCounterOffset = (int)((long)newCounterEntryPointer -
baseAddress
);
383
newInstanceEntryPointer->InstanceNameOffset = (int) (nextPtr -
baseAddress
);
410
previousCounterEntryPointer->NextCounterOffset = (int)((long)newCounterEntryPointer -
baseAddress
);
419
newCounterEntryPointer->CounterNameOffset = (int) (nextPtr -
baseAddress
);
426
previousCounterEntryPointer->NextCounterOffset = (int)((long)newCounterEntryPointer -
baseAddress
);
433
Debug.Assert(nextPtr -
baseAddress
== freeMemoryOffset + totalSize, "We should have used all of the space we requested at this point");
435
int offset = (int) ((long) newInstanceEntryPointer -
baseAddress
);
443
*((int*)
baseAddress
) = newOffset;
466
newCounterEntryPointer->CounterNameOffset = (int) (nextPtr -
baseAddress
);
472
Debug.Assert(nextPtr + counterNameLength -
baseAddress
== freeMemoryOffset + totalSize, "We should have used all of the space we requested at this point");
474
lastCounterPointer->NextCounterOffset = (int) ((long) newCounterEntryPointer -
baseAddress
);
562
ulong endAddress = (ulong) (
baseAddress
+ FileView.FileMappingSize);
580
ulong endAddress = (ulong) (
baseAddress
+ FileView.FileMappingSize);
927
int freeMemoryOffset = *((int *)
baseAddress
);
1133
int freeOffset = *((int*)
baseAddress
);
1179
int freeOffset = *((int*)
baseAddress
);
1504
long address =
baseAddress
+ offset;
1512
int offset = (int)(address -
baseAddress
);