Solid
Solid::Processor Class Reference
#include <processor.h>

Detailed Description
This device interface is available on processors.Definition at line 35 of file processor.h.
Public Types | |
enum | InstructionSet { NoExtensions = 0x0, IntelMmx = 0x1, IntelSse = 0x2, IntelSse2 = 0x4, IntelSse3 = 0x8, IntelSse4 = 0x10, Amd3DNow = 0x20, AltiVec = 0x40 } |
Public Member Functions | |
bool | canChangeFrequency () const |
InstructionSets | instructionSets () const |
int | maxSpeed () const |
int | number () const |
virtual | ~Processor () |
Static Public Member Functions | |
static Type | deviceInterfaceType () |
Properties | |
bool | canChangeFrequency |
InstructionSets | instructionSets |
qulonglong | maxSpeed |
int | number |
Member Enumeration Documentation
This enum contains the list of architecture extensions you can query.
Definition at line 63 of file processor.h.
Constructor & Destructor Documentation
Solid::Processor::~Processor | ( | ) | [virtual] |
Member Function Documentation
bool Solid::Processor::canChangeFrequency | ( | ) | const |
Indicates if the processor can change the CPU frequency.
True if a processor is able to change its own CPU frequency. (generally for power management).
- Returns:
- true if the processor can change CPU frequency, false otherwise
static Type Solid::Processor::deviceInterfaceType | ( | ) | [inline, static] |
Get the Solid::DeviceInterface::Type of the Processor device interface.
- Returns:
- the Processor device interface type
- See also:
- Solid::Ifaces::Enums::DeviceInterface::Type
Definition at line 91 of file processor.h.
InstructionSets Solid::Processor::instructionSets | ( | ) | const |
Queries the instructions set extensions of the CPU.
- Returns:
- the extensions supported by the CPU
int Solid::Processor::maxSpeed | ( | ) | const |
Retrieves the maximum speed of the processor.
- Returns:
- the maximum speed in MHz
int Solid::Processor::number | ( | ) | const |
Retrieves the processor number in the system.
- Returns:
- the internal processor number in the system, starting from zero
Property Documentation
bool Solid::Processor::canChangeFrequency [read] |
Definition at line 42 of file processor.h.
Solid::Processor::InstructionSets Solid::Processor::instructionSets [read] |
Definition at line 43 of file processor.h.
int Solid::Processor::maxSpeed [read] |
Definition at line 41 of file processor.h.
int Solid::Processor::number [read] |
Definition at line 40 of file processor.h.
The documentation for this class was generated from the following files: