5 references to GetCurrentProcessorId
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\CounterAggregator.cs (1)
37
Thread.
GetCurrentProcessorId
()
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (2)
344
int index = (int)((uint)Thread.
GetCurrentProcessorId
() % (uint)SharedArrayPoolStatics.s_partitionCount); // mod by constant in tier 1
364
int index = (int)((uint)Thread.
GetCurrentProcessorId
() % (uint)SharedArrayPoolStatics.s_partitionCount); // mod by constant in tier 1
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (1)
359
int i = (int)((uint)Thread.
GetCurrentProcessorId
() % (uint)Environment.ProcessorCount);
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
514
_associatedTimerQueue = TimerQueue.Instances[(uint)Thread.
GetCurrentProcessorId
() % TimerQueue.Instances.Length];