Search for usage in LXR

Solid::Ifaces::Processor Class Referenceabstract

#include <processor.h>

Inheritance diagram for Solid::Ifaces::Processor:

Public Member Functions

virtual ~Processor ()
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

Solid::Ifaces::Processor::~Processor ( )

Destroys a Processor object.

Definition at line 9 of file ifaces/processor.cpp.

Member Function Documentation

virtual bool Solid::Ifaces::Processor::canChangeFrequency ( ) const
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).

true if the processor can change CPU frequency, false otherwise
virtual Solid::Processor::InstructionSets Solid::Ifaces::Processor::instructionSets ( ) const
pure virtual

Queries the instructions set extensions of the CPU.

the extensions supported by the CPU
virtual int Solid::Ifaces::Processor::maxSpeed ( ) const
pure virtual

Retrieves the maximum speed of the processor.

the maximum speed in MHz
virtual int Solid::Ifaces::Processor::number ( ) const
pure virtual

Retrieves the processor number in the system.

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-2021 The KDE developers.
Generated on Thu May 13 2021 22:49:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.