Solid::Ifaces::Processor
Solid::Ifaces::Processor Class Referenceabstract
#include <processor.h>
Inheritance diagram for Solid::Ifaces::Processor:
Public Member Functions | |
~Processor () override | |
virtual bool | canChangeFrequency () const =0 |
virtual Solid::Processor::InstructionSets | instructionSets () const =0 |
virtual int | maxSpeed () const =0 |
virtual int | number () const =0 |
Public Member Functions inherited from Solid::Ifaces::DeviceInterface | |
virtual | ~DeviceInterface () |
Detailed Description
This device interface is available on processors.
Definition at line 20 of file ifaces/processor.h.
Constructor & Destructor Documentation
◆ ~Processor()
|
override |
Destroys a Processor object.
Definition at line 9 of file ifaces/processor.cpp.
Member Function Documentation
◆ canChangeFrequency()
|
pure virtual |
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
◆ instructionSets()
|
pure virtual |
Queries the instructions set extensions of the CPU.
- Returns
- the extensions supported by the CPU
◆ maxSpeed()
|
pure virtual |
Retrieves the maximum speed of the processor.
- Returns
- the maximum speed in MHz
◆ number()
|
pure virtual |
Retrieves the processor number in the system.
- Returns
- the internal processor number in the system, starting from zero
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.