MeVisLabToolboxReference
|
CPU information. More...
#include <macCPUInfo.h>
Public Types | |
enum | CPUType { CPUTypeUnknown = -1, CPUTypePPC, CPUTypePPC64, CPUTypeI386, CPUTypeX86_64 } |
CPU types. More... | |
Static Public Member Functions | |
static CPUType | getCPUType () |
Return CPU type. | |
static bool | is64BitCapable () |
Check if 64 bit support is present. | |
static bool | isMMXPresent () |
Check if MMX vector instructions are present. | |
static bool | isSSEPresent () |
Check if Streaming SIMD Extensions are present. | |
static bool | isSSE2Present () |
Check if Streaming SIMD Extensions 2 are present. | |
static bool | isSSE3Present () |
Check if Streaming SIMD Extensions 3 are present. | |
static bool | isSSSE3Present () |
Check if Supplemental Streaming SIMD Extensions 3 are present. | |
static bool | isSSE4_1Present () |
Check if Streaming SIMD Extensions 4.1 are present. | |
static bool | isSSE4_2Present () |
Check if Streaming SIMD Extensions 4.2 are present. | |
static bool | isAESPresent () |
Check if AES Extensions are present. | |
static uint64_t | getCPUFrequency () |
Get CPU frequency in hertz. | |
static uint64_t | getL1CacheSize () |
Get first level cache size in bytes. | |
static uint64_t | getL2CacheSize () |
Get second level cache size in bytes. | |
static uint64_t | getL3CacheSize () |
Get third level cache size in bytes. | |
static unsigned int | getVirtualCoresCount () |
Return number of virtual cpus per processor package. |
CPU information.
Definition at line 16 of file macCPUInfo.h.
CPU types.
CPUTypeUnknown |
unknown CPU |
CPUTypePPC |
PPC. |
CPUTypePPC64 |
64-bit PPC |
CPUTypeI386 |
I386. |
CPUTypeX86_64 |
64-bit X86 |
Definition at line 21 of file macCPUInfo.h.
static uint64_t macx::CPUInfo::getCPUFrequency | ( | ) | [inline, static] |
Get CPU frequency in hertz.
Definition at line 78 of file macCPUInfo.h.
static CPUType macx::CPUInfo::getCPUType | ( | ) | [static] |
Return CPU type.
static uint64_t macx::CPUInfo::getL1CacheSize | ( | ) | [inline, static] |
Get first level cache size in bytes.
Definition at line 83 of file macCPUInfo.h.
static uint64_t macx::CPUInfo::getL2CacheSize | ( | ) | [inline, static] |
Get second level cache size in bytes.
Definition at line 89 of file macCPUInfo.h.
static uint64_t macx::CPUInfo::getL3CacheSize | ( | ) | [inline, static] |
Get third level cache size in bytes.
Definition at line 94 of file macCPUInfo.h.
static unsigned int macx::CPUInfo::getVirtualCoresCount | ( | ) | [inline, static] |
Return number of virtual cpus per processor package.
Definition at line 99 of file macCPUInfo.h.
static bool macx::CPUInfo::is64BitCapable | ( | ) | [inline, static] |
Check if 64 bit support is present.
Definition at line 33 of file macCPUInfo.h.
static bool macx::CPUInfo::isAESPresent | ( | ) | [inline, static] |
Check if AES Extensions are present.
Definition at line 73 of file macCPUInfo.h.
static bool macx::CPUInfo::isMMXPresent | ( | ) | [inline, static] |
Check if MMX vector instructions are present.
Definition at line 38 of file macCPUInfo.h.
static bool macx::CPUInfo::isSSE2Present | ( | ) | [inline, static] |
Check if Streaming SIMD Extensions 2 are present.
Definition at line 48 of file macCPUInfo.h.
static bool macx::CPUInfo::isSSE3Present | ( | ) | [inline, static] |
Check if Streaming SIMD Extensions 3 are present.
Definition at line 53 of file macCPUInfo.h.
static bool macx::CPUInfo::isSSE4_1Present | ( | ) | [inline, static] |
Check if Streaming SIMD Extensions 4.1 are present.
Definition at line 63 of file macCPUInfo.h.
static bool macx::CPUInfo::isSSE4_2Present | ( | ) | [inline, static] |
Check if Streaming SIMD Extensions 4.2 are present.
Definition at line 68 of file macCPUInfo.h.
static bool macx::CPUInfo::isSSEPresent | ( | ) | [inline, static] |
Check if Streaming SIMD Extensions are present.
Definition at line 43 of file macCPUInfo.h.
static bool macx::CPUInfo::isSSSE3Present | ( | ) | [inline, static] |
Check if Supplemental Streaming SIMD Extensions 3 are present.
Definition at line 58 of file macCPUInfo.h.