CPU Info. More...
#include <fcpu.h>
Public Member Functions | |
| FCpuInfo () | |
| ~FCpuInfo () | |
| int32 | countLogical () const |
| Returns the number of cpu-cores present. | |
| int32 | countAvailable () const |
| Returns the number of cpu-cores currently available for processing. | |
| bool | isLogicalAvailable (int32 index) |
| Returns true if the core with the given index is available. | |
Protected Member Functions | |
| void | initialize () |
Protected Attributes | |
| int32 | numLogical |
| int32 | numAvailable |
CPU Info.
| FCpuInfo | ( | ) |
| ~FCpuInfo | ( | ) |
| int32 countLogical | ( | ) | const [inline] |
Returns the number of cpu-cores present.
| int32 countAvailable | ( | ) | const [inline] |
Returns the number of cpu-cores currently available for processing.
| bool isLogicalAvailable | ( | int32 | index | ) |
Returns true if the core with the given index is available.
| void initialize | ( | ) | [protected] |
int32 numLogical [protected] |
int32 numAvailable [protected] |