Operations for gathering information about the processor's features
OperationsDetermine the L1 cache line size of the CPU
function : GetCacheLineSize() ~ Int
Type | Description |
---|---|
Int | L1 cache line size of the CPU, in bytes. |
Get the number of CPU cores available
function : GetCount() ~ Int
Type | Description |
---|---|
Int | the total number of logical CPU cores |
Get the amount of RAM configured in the system
function : GetSystemRAM() ~ Int
Type | Description |
---|---|
Int | amount of RAM in MB |
Determine whether the CPU has 3DNow! features
function : Has3DNow() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has AVX features
function : HasAVX() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has AVX2 features
function : HasAVX2() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has AltiVec features
function : HasAltiVec() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has MMX features
function : HasMMX() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has the RDTSC instruction
function : HasRDTSC() ~ Bool
Type | Description |
---|---|
Bool | true if the CPU has the RDTSC instruction or false if not |
Determine whether the CPU has SSE features
function : HasSSE() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has SSE2 features
function : HasSSE2() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has SSE3 features
function : HasSSE3() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |
Determine whether the CPU has SSE 4.2 features
function : HasSSE42() ~ Bool
Type | Description |
---|---|
Bool | true if present, false otherwise |