| |
- object
-
- CPUInfoBase
-
- DarwinCPUInfo
- IRIXCPUInfo
- LinuxCPUInfo
- LinuxCPUInfo
- SunOSCPUInfo
- Win32CPUInfo
class CPUInfoBase(object) |
|
Holds CPU information and provides methods for requiring
the availability of various CPU features. |
|
Methods defined here:
- __getattr__(self, name)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class LinuxCPUInfo(CPUInfoBase) |
| |
- Method resolution order:
- LinuxCPUInfo
- CPUInfoBase
- object
Methods defined here:
- __init__(self)
Data and other attributes defined here:
- info = [{'address sizes': '36 bits physical, 48 bits virtual', 'apicid': '0', 'bogomips': '5585.13', 'cache size': '6144 KB', 'cache_alignment': '64', 'clflush size': '64', 'core id': '0', 'cpu MHz': '2800.000', 'cpu cores': '2', 'cpu family': '6', ...}, {'address sizes': '36 bits physical, 48 bits virtual', 'apicid': '1', 'bogomips': '5587.02', 'cache size': '6144 KB', 'cache_alignment': '64', 'clflush size': '64', 'core id': '1', 'cpu MHz': '800.000', 'cpu cores': '2', 'cpu family': '6', ...}]
Methods inherited from CPUInfoBase:
- __getattr__(self, name)
Data descriptors inherited from CPUInfoBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
cpuinfo = class LinuxCPUInfo(CPUInfoBase) |
| |
- Method resolution order:
- LinuxCPUInfo
- CPUInfoBase
- object
Methods defined here:
- __init__(self)
Data and other attributes defined here:
- info = [{'address sizes': '36 bits physical, 48 bits virtual', 'apicid': '0', 'bogomips': '5585.13', 'cache size': '6144 KB', 'cache_alignment': '64', 'clflush size': '64', 'core id': '0', 'cpu MHz': '2800.000', 'cpu cores': '2', 'cpu family': '6', ...}, {'address sizes': '36 bits physical, 48 bits virtual', 'apicid': '1', 'bogomips': '5587.02', 'cache size': '6144 KB', 'cache_alignment': '64', 'clflush size': '64', 'core id': '1', 'cpu MHz': '800.000', 'cpu cores': '2', 'cpu family': '6', ...}]
Methods inherited from CPUInfoBase:
- __getattr__(self, name)
Data descriptors inherited from CPUInfoBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |