|
CpuCount | |
Count = CpuCount() | |
Parameters: NONE | |
Returns: Count = The number of cpu's the current system has |
|
The CpuCount query's the system cpu's / cores and hyper threading and returns this infomation as a CPU count. It supports systems with more than one cpu, and cpu's with more than one core. Single core/cpu systems can have a feature called Hyper Threading in them, If detected CpuCount returns this as if it was a second 'core'. Since those cpu's can generally thread better than cpu's without it. FACTS: * CpuCount is useful when we wish to determine if our program should use threading on not. (See BlitImageThreadMode) * CpuCount can return more than one on systems that are fitted with single systems, if the CPU includes hyper threading technology. Mini Tutorial:
|
Related Info: | BlitIMageThreadMode | CpuMMXstate | GetGfxMMX : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |