Package sysmon :: Module system :: Class Processor
[hide private]
[frames] | no frames]

Class Processor

source code

SystemPart --+
             |
            Processor
Known Subclasses:

Represents a single abstract processor.

Instance Methods [hide private]
 
name(self)
An appropriate name for the processor, like cpu4.
source code
 
modelname(self)
The modelname of this processor.
source code
 
max_freq(self)
The maximum frequency of this processor, in MHz.
source code
 
freq(self)
The current operating frequency of this processor, in MHz.
source code
 
usage(self)
The current usage of this processor, as a fraction.
source code
 
dict(self)
Returns a dictionary with a massive amount of meta-information, by string.
source code

Inherited from SystemPart: __init__, callback, delay, do_update, set_delay, set_system, system, update

Static Methods [hide private]

Inherited from SystemPart: null

Method Details [hide private]

dict(self)

source code 

Returns a dictionary with a massive amount of meta-information, by string.

Most implementations will take this directly out of /proc/cpuinfo. It is generally bad form to use this directly in an application.