11 references to ProcessorCount
mscorlib (11)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
1955get { return PlatformHelper.ProcessorCount; }
system\collections\concurrent\PartitionerStatic.cs (3)
203(PlatformHelper.ProcessorCount * coreOversubscriptionRate); 260(PlatformHelper.ProcessorCount * coreOversubscriptionRate); 604int fillBufferMultiplier = (PlatformHelper.ProcessorCount > 4) ? 4 : 1;
system\threading\CancellationTokenSource.cs (2)
52private static readonly int s_nLists = (PlatformHelper.ProcessorCount > 24) ? 24 : PlatformHelper.ProcessorCount;
system\threading\SpinLock.cs (1)
379int processorCount = PlatformHelper.ProcessorCount;
system\threading\SpinWait.cs (1)
326get { return ProcessorCount == 1; }
system\threading\Tasks\Parallel.cs (3)
1073PlatformHelper.ProcessorCount : 1388PlatformHelper.ProcessorCount : 3580int timeOut = s_BaseNotifyPeriodMS + (nWorkerTaskIndex % PlatformHelper.ProcessorCount) * s_NotifyPeriodIncrementMS;