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