[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return the processor count for this system
Source position: classesh.inc line 1827
public property TThread.ProcessorCount : LongWord |
ProcessorCount returns the processor count for this system.
Whether this is the number of cores or the number of CPUs present in the hardware, is deliberately unspecified. The number of cores can also vary during the lifetime of the program, and the FPC implementation does not guarantee that this will always match, the value is set at program start.
As such, the number specified should only be used as an indication of how many threads can be executed at once by the system.
|
Is the current system single processor or not |