All Bundles

CPU

Operations for gathering information about the processor's features

Operations

GetCacheLineSize

Determine the L1 cache line size of the CPU

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

GetCount

Get the number of CPU cores available

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

GetSystemRAM

Get the amount of RAM configured in the system

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

Has3DNow

Determine whether the CPU has 3DNow! features

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

HasAVX

Determine whether the CPU has AVX features

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

HasAVX2

Determine whether the CPU has AVX2 features

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

HasAltiVec

Determine whether the CPU has AltiVec features

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

HasMMX

Determine whether the CPU has MMX features

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

HasRDTSC

Determine whether the CPU has the RDTSC instruction

function : 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 : HasSSE() ~ Bool
Return
TypeDescription
Booltrue if present, false otherwise

HasSSE2

Determine whether the CPU has SSE2 features

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

HasSSE3

Determine whether the CPU has SSE3 features

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

HasSSE42

Determine whether the CPU has SSE 4.2 features

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