1 implementation of ProcessorCount
Microsoft.TestPlatform.PlatformAbstractions (1)
netcore\System\PlatformEnvironment.cs (1)
63public int ProcessorCount => Environment.ProcessorCount;
2 references to ProcessorCount
Microsoft.TestPlatform.CrossPlatEngine (2)
TestEngine.cs (2)
532? _environment.ProcessorCount 563EqtTrace.Verbose("TestEngine.VerifyParallelSettingAndCalculateParallelLevel: Parallel execution is enabled (cpu count: {0}, max cpu count is {1}, calculated cpu count is {2}, background mode is {3}, number of sources is {4})", _environment.ProcessorCount, maxCpuCount, parallelLevelToUse, isBackgroundDiscoveryEnabled == "1" ? "enabled" : "disabled", sourceCount);