Home

CPU

Operations for gathering information about the processor's features

Operations

GetCacheLineSize

Determine the L1 cache line size of the CPU

function : public : GetCacheLineSize() ~ Int
Return
TypeDescription
IntL1 cache line size of the CPU, in bytes.

GetCount

Get the number of CPU cores available

function : public : GetCount() ~ Int
Return
TypeDescription
Intthe total number of logical CPU cores

GetSystemRAM

Get the amount of RAM configured in the system

function : public : GetSystemRAM() ~ Int
Return
TypeDescription
Intamount of RAM in MB

Has3DNow

Determine whether the CPU has 3DNow! features

function : public : Has3DNow() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasAVX

Determine whether the CPU has AVX features

function : public : HasAVX() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasAVX2

Determine whether the CPU has AVX2 features

function : public : HasAVX2() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasAltiVec

Determine whether the CPU has AltiVec features

function : public : HasAltiVec() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasMMX

Determine whether the CPU has MMX features

function : public : HasMMX() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasNEON

Determine whether the CPU has NEON features

function : public : HasNEON() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasRDTSC

Determine whether the CPU has the RDTSC instruction

function : public : HasRDTSC() ~ Bool
Return
TypeDescription
Booltrue if the CPU has the RDTSC instruction or false if not

HasSSE

Determine whether the CPU has SSE features

function : public : HasSSE() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasSSE2

Determine whether the CPU has SSE2 features

function : public : HasSSE2() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasSSE3

Determine whether the CPU has SSE3 features

function : public : HasSSE3() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasSSE42

Determine whether the CPU has SSE 4.2 features

function : public : HasSSE42() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise