AsmJit
Low-Latency Machine Code Generation
CPU information.
Creates a new CpuInfo instance.
Creates a copy of other
instance.
Creates an unitialized CpuInfo
instance.
Returns the host CPU information.
Copy assignment.
SubArch::kUnknown
)noexcept◆ Initializes CpuInfo architecture and sub-architecture members to arch
and subArch
, respectively.
Resets this CpuInfo to a default constructed state.
Returns the CPU architecture this information relates to.
Returns the CPU sub-architecture this information relates to.
Returns whether the CPU was detected successfully.
If the returned value is false it means that AsmJit either failed to detect the CPU or it doesn't have implementation targeting the host architecture and operating system.
Returns the CPU family ID.
The information provided depends on architecture and OS:
Returns the CPU model ID.
The information provided depends on architecture and OS:
Returns the CPU brand id.
The information provided depends on architecture and OS:
Returns the CPU stepping.
The information provided depends on architecture and OS:
Returns the processor type.
The information provided depends on architecture and OS:
Returns the maximum number of logical processors.
Returns the size of a CPU cache line.
On a multi-architecture system this should return the smallest cache line of all CPUs.
Returns number of hardware threads available.
Returns a CPU vendor string.
Tests whether the CPU vendor string is equal to s
.
Returns a CPU brand string.
Returns CPU features.
Returns CPU features (const).
Tests whether the CPU has the given feature
.
Adds the given CPU featureId
to the list of features.
Removes the given CPU featureId
from the list of features.
Architecture.
Sub-architecture.
True if the CPU was detected, false if the detection failed or it's not available.
Reserved for future use.
CPU family ID.
CPU model ID.
CPU brand ID.
CPU stepping.
Processor type.
Maximum number of addressable IDs for logical processors.
Cache line size (in bytes).
Number of hardware threads.
CPU vendor string.
CPU brand string.
CPU features.