This class checks the CPU functionality like CPU cores, SSE support.
More...
#include <CPU.h>
Detailed Description
This class checks the CPU functionality like CPU cores, SSE support.
Definition at line 16 of file CPU.h.
Member Function Documentation
static int kge::core::CPU::GetCPUCacheLineSize |
( |
| ) |
|
|
static |
This function returns the L1 cache line size of the CPU
This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.
static int kge::core::CPU::GetCPUCount |
( |
| ) |
|
|
static |
Returns the number of CPU cores available.
static bool kge::core::CPU::Has3DNow |
( |
| ) |
|
|
static |
This function returns true if the CPU has 3DNow! features.
static bool kge::core::CPU::HasAltiVec |
( |
| ) |
|
|
static |
This function returns true if the CPU has AltiVec features.
static bool kge::core::CPU::HasMMX |
( |
| ) |
|
|
static |
This function returns true if the CPU has MMX features.
static bool kge::core::CPU::HasRDTSC |
( |
| ) |
|
|
static |
This function returns true if the CPU has the RDTSC instruction.
static bool kge::core::CPU::HasSSE |
( |
| ) |
|
|
static |
This function returns true if the CPU has SSE features.
static bool kge::core::CPU::HasSSE2 |
( |
| ) |
|
|
static |
This function returns true if the CPU has SSE2 features.
static bool kge::core::CPU::HasSSE3 |
( |
| ) |
|
|
static |
This function returns true if the CPU has SSE3 features.
static bool kge::core::CPU::HasSSE41 |
( |
| ) |
|
|
static |
This function returns true if the CPU has SSE4.1 features.
static bool kge::core::CPU::HasSSE42 |
( |
| ) |
|
|
static |
This function returns true if the CPU has SSE4.2 features.
The documentation for this class was generated from the following file:
- E:/mycodes/git/kge/Include/core/CPU.h