Yeppp!
 All Classes Functions Variables Pages
Public Member Functions | Static Public Attributes | List of all members
CpuSystemFeature Class Reference

Non-ISA processor or system features. More...

Inherited by ArmCpuSystemFeature, and X86CpuSystemFeature.

Public Member Functions

final String toString ()
 Provides a string ID for this non-ISA processor or system feature. More...
 
final String getDescription ()
 Provides a text description for this non-ISA processor or system feature. More...
 

Static Public Attributes

static final CpuSystemFeature CycleCounter = new CpuSystemFeature(0)
 The processor has a built-in cycle counter, and the operating system provides a way to access it.
 
static final CpuSystemFeature CycleCounter64Bit = new CpuSystemFeature(1)
 The processor has a 64-bit cycle counter, or the operating system provides an abstraction of a 64-bit cycle counter.
 
static final CpuSystemFeature AddressSpace64Bit = new CpuSystemFeature(2)
 The processor and the operating system allows to use 64-bit pointers.
 
static final CpuSystemFeature GPRegisters64Bit = new CpuSystemFeature(3)
 The processor and the operating system allows to do 64-bit arithmetical operations on general-purpose registers.
 
static final CpuSystemFeature MisalignedAccess = new CpuSystemFeature(4)
 The processor and the operating system allows misaligned memory reads and writes.
 
static final CpuSystemFeature SingleThreaded = new CpuSystemFeature(5)
 The processor or the operating system support at most one hardware thread.
 

Detailed Description

Non-ISA processor or system features.

See Also
CpuArchitecture::iterateSystemFeatures(), Library::isSupported(CpuSystemFeature), X86CpuSystemFeature, ArmCpuSystemFeature

Member Function Documentation

final String toString ( )

Provides a string ID for this non-ISA processor or system feature.

Returns
A string which starts with a Latin letter and contains only Latin letters, digits, and underscore symbol.
See Also
getDescription()
final String getDescription ( )

Provides a text description for this non-ISA processor or system feature.

Returns
A string description which can contain spaces and non-ASCII characters.
See Also
toString()