18 #if defined(__APPLE__)
static bool isSSE4_2Present()
Check if Streaming SIMD Extensions 4.2 are present.
static uint64_t getCPUFrequency()
Get CPU frequency in hertz.
static bool isAVX1Present()
Check if AVX1 instructions are present and enabled in the OS.
static std::string getCPUVendor()
Return CPU vendor string e.g.
@ CPUTypeX86_64
64-bit X86
static std::string getCPUBrandString()
Return CPU brand string e.g.
static bool isSSE2Present()
Check if Streaming SIMD Extensions 2 are present.
static uint64_t getL1CacheSize()
Get first level cache size in bytes.
static bool isAVX2Present()
Check if AVX2 instructions are present and enabled in the OS.
static bool isSSSE3Present()
Check if Supplemental Streaming SIMD Extensions 3 are present.
static uint64_t getL3CacheSize()
Get third level cache size in bytes.
static bool is64BitCapable()
Check if 64 bit support is present.
static bool isSSEPresent()
Check if Streaming SIMD Extensions are present.
static bool isMMXPresent()
Check if MMX vector instructions are present.
static bool isAESPresent()
Check if AES Extensions are present.
static unsigned int getVirtualCoresCount()
Return number of virtual cpus per processor package.
static bool isSSE3Present()
Check if Streaming SIMD Extensions 3 are present.
static bool isSSE4_1Present()
Check if Streaming SIMD Extensions 4.1 are present.
static CPUType getCPUType()
Return CPU type.
static uint64_t getL2CacheSize()
Get second level cache size in bytes.
static std::string stringByName(const char *option)
static uint64_t uint64ByName(const char *option)
static uint32_t uint32ByName(const char *option)
static bool boolByName(const char *option)
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.