CMake.ProcessorCount
command_line: /__w/nightly-builds/nightly-builds/build/bin/cmake "-DKWSYS_TEST_EXE=/__w/nightly-builds/nightly-builds/build/Source/kwsys/cmsysTestsCxx" "-P" "/__w/nightly-builds/nightly-builds/build/Tests/CMakeTests/ProcessorCountTest.cmake"
working_directory: "./Tests/CMakeTests"
Processors: 1
Execution Time: 0.015
BeforeCPULoadAverage: 4.33447265625
AfterCPULoadAverage: 4.33447265625
BeforeHostMemoryUsed: 1129952
AfterHostMemoryUsed: 1129960
Completion Status: Completed
Environment: #CTEST_RESOURCE_GROUP_COUNT=
stdout:
### 1. This line should be the first line of text in the test output.
### 2. If there was output from this test before line #1, then the
### 3. ProcessorCount(...) function call is emitting output that it shouldn't...
processor_count='4'
system_info_processor_count='2'
CTEST_FULL_OUTPUT (Avoid ctest truncation of output)
tsi_out='CTEST_FULL_OUTPUT
GetOSName: Linux
GetOSIsLinux: 1
GetOSIsApple: 0
GetOSIsWindows: 0
GetHostname: clang-builder
GetFullyQualifiedDomainName: clang-builder
GetOSRelease: 6.11.0-1015-azure
GetOSVersion: #15~24.04.1-Ubuntu SMP Thu May 1 02:52:08 UTC 2025
GetOSPlatform: x86_64
Is64Bits: 1
GetVendorString: AuthenticAMD
GetVendorID: Advanced Micro Devices
GetTypeID: 0
GetFamilyID: 25
GetModelID: 1
GetExtendedProcessorName: Unknown AMD family
GetSteppingCode: 1
GetProcessorSerialNumber:
GetProcessorCacheSize: 512 KB
GetLogicalProcessorsPerPhysical: 2
GetProcessorClockFrequency: 3243.98 MHz
GetNumberOfLogicalCPU: 4
GetNumberOfPhysicalCPU: 2
DoesCPUSupportCPUID: 0
GetProcessorAPICID: 0
GetTotalVirtualMemory: 4095 MB
GetAvailableVirtualMemory: 4095 MB
GetTotalPhysicalMemory: 15995 MB
GetAvailablePhysicalMemory: 14444 MB
GetHostMemoryTotal(): 16379564 KiB
GetHostMemoryAvailable("KWSHL"): 16379564 KiB
GetProcMemoryAvailable("KWSHL", "KWSPL"): 16379564 KiB
GetHostMemoryUsed(): 1129960 KiB
GetProcMemoryUsed(): 4472 KiB
GetLoadAverage: 4.33447
CPU feature 0
CPU feature 2
CPU feature 3
CPU feature 10
CPU feature 13
CPU feature 14
CPU feature 15
CPU feature 16
CPU feature 17
CPU feature 23
Program Stack:
0x55b97761189b : ??? [(???) ???:-1]
0x55b977611824 : ??? [(???) ???:-1]
0x55b9775f4363 : ??? [(???) ???:-1]
0x55b9775de722 : ??? [(???) ???:-1]
0x7fcce2c511ca : ??? [(???) ???:-1]
0x7fcce2c5128b : __libc_start_main [(libc.so.6) ???:-1]
0x55b9775de225 : ??? [(???) ???:-1]
'
tsi_err=''
err 2
SystemInformation and ProcessorCount.cmake disagree:
processor_count='4'
SystemInformation processor_count='2'