KDE 4.4 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

Processor Class Reference

from PyKDE4.solid import *

Inherits: Solid.DeviceInterface → QObject
Namespace: Solid.Processor

Detailed Description

This device interface is available on processors.


Enumerations

InstructionSet { NoExtensions, IntelMmx, IntelSse, IntelSse2, IntelSse3, IntelSse4, Amd3DNow, AltiVec }

Methods

 __init__ (self, QObject backendObject)
bool canChangeFrequency (self)
Solid.DeviceInterface.Type deviceInterfaceType (self)
Solid.Processor.InstructionSets instructionSets (self)
int maxSpeed (self)
int number (self)

Method Documentation

__init__ (  self,
QObject  backendObject
)
bool canChangeFrequency (   self )

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

Solid.DeviceInterface.Type deviceInterfaceType (   self )

Get the Solid.DeviceInterface.Type of the Processor device interface.

Returns:
the Processor device interface type
See also:
Solid.Ifaces.Enums.DeviceInterface.Type

Solid.Processor.InstructionSets instructionSets (   self )

Queries the instructions set extensions of the CPU.

Returns:
the extensions supported by the CPU

int maxSpeed (   self )

Retrieves the maximum speed of the processor.

Returns:
the maximum speed in MHz, or 0 if the device can't be queried for this information.

int number (   self )

Retrieves the processor number in the system.

Returns:
the internal processor number in the system, starting from zero


Enumeration Documentation

InstructionSet
Enumerator:

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal