Sign in Join
FPDoc Onlineexperiment

CPUCount property

In unit System

Number of cores on the system.

Declaration

pascal
property CPUCount: LongWord read GetCPUCount;

Description

CPUCount contains the number of CPU cores on the system. Whether these are physically separate CPUs or cores on a single CPU is deliberately undefined. It can be used as a measure for the maximum number of threads that can run concurrently.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.