Skip to content

GetCPUCount

Return the number of cores on the system

Declaration

Source position: threadh.inc line 28

  function GetCPUCount : LongWord;

Description

GetCPUCount returns the number of CPU cores on the system. Whether these are physically separate CPUs or cores on a single CPU is deliberately undefined.

See also

Name Description
CPUCount Number of cores on the system