Panda3D
|
This class contains various display information. More...
Public Types | |
enum | DetectionState { DS_unknown = 0, DS_success = 1, DS_direct_3d_create_error = 2, DS_create_window_error = 3, DS_create_device_error = 4 } |
Public Member Functions | |
__init__ () | |
PNUint64 | getAvailablePageFileSize () |
PNUint64 | getAvailablePhysicalMemory () |
PNUint64 | getAvailableProcessVirtualMemory () |
unsigned int | getCpuBrandIndex () |
str | getCpuBrandString () |
PNUint64 | getCpuFrequency () |
unsigned int | getCpuIdData (int index) |
Returns part of cpu id binary data based on the index. More... | |
int | getCpuIdSize () |
Returns the number of 32-bit values for cpu id binary data. More... | |
int | getCpuIdVersion () |
PNUint64 | getCpuTime () |
str | getCpuVendorString () |
unsigned int | getCpuVersionInformation () |
PNUint64 | getCurrentCpuFrequency () |
int | getDeviceId () |
const DisplayMode | getDisplayMode (int display_index) |
int | getDisplayModeBitsPerPixel (int display_index) |
int | getDisplayModeFullscreenOnly (int display_index) |
int | getDisplayModeHeight (int display_index) |
int | getDisplayModeRefreshRate (int display_index) |
list | getDisplayModes () |
int | getDisplayModeWidth (int display_index) |
int | getDisplayState () |
int | getDriverBuild () |
int | getDriverDateDay () |
int | getDriverDateMonth () |
int | getDriverDateYear () |
int | getDriverProduct () |
int | getDriverSubVersion () |
int | getDriverVersion () |
PNUint64 | getMaximumCpuFrequency () |
int | getMaximumWindowHeight () |
int | getMaximumWindowWidth () |
int | getMemoryLoad () |
int | getNumCpuCores () |
Returns the number of individual CPU cores in the system, or 0 if this number is not available. A hyperthreaded CPU counts once here. More... | |
int | getNumLogicalCpus () |
Returns the number of logical CPU's in the system, or 0 if this number is not available. A hyperthreaded CPU counts as two or more here. More... | |
int | getOsPlatformId () |
Returns -1 if not set. More... | |
int | getOsVersionBuild () |
Returns -1 if not set. More... | |
int | getOsVersionMajor () |
Returns -1 if not set. More... | |
int | getOsVersionMinor () |
Returns -1 if not set. More... | |
PNUint64 | getPageFaultCount () |
PNUint64 | getPageFileSize () |
PNUint64 | getPageFileUsage () |
PNUint64 | getPeakPageFileUsage () |
PNUint64 | getPeakProcessMemory () |
PNUint64 | getPhysicalMemory () |
PNUint64 | getProcessMemory () |
PNUint64 | getProcessVirtualMemory () |
int | getShaderModel () |
int | getTextureMemory () |
int | getTotalDisplayModes () |
int | getVendorId () |
int | getVideoMemory () |
int | getWindowBitsPerPixel () |
updateCpuFrequency (int processor_number) | |
updateMemoryInformation () | |
This class contains various display information.
enum DetectionState |
__init__ | ( | ) |
PNUint64 getAvailablePageFileSize | ( | ) |
PNUint64 getAvailablePhysicalMemory | ( | ) |
PNUint64 getAvailableProcessVirtualMemory | ( | ) |
unsigned int getCpuBrandIndex | ( | ) |
str getCpuBrandString | ( | ) |
PNUint64 getCpuFrequency | ( | ) |
unsigned int getCpuIdData | ( | int | index | ) |
Returns part of cpu id binary data based on the index.
int getCpuIdSize | ( | ) |
Returns the number of 32-bit values for cpu id binary data.
int getCpuIdVersion | ( | ) |
PNUint64 getCpuTime | ( | ) |
str getCpuVendorString | ( | ) |
unsigned int getCpuVersionInformation | ( | ) |
PNUint64 getCurrentCpuFrequency | ( | ) |
int getDeviceId | ( | ) |
const DisplayMode getDisplayMode | ( | int | display_index | ) |
int getDisplayModeBitsPerPixel | ( | int | display_index | ) |
int getDisplayModeFullscreenOnly | ( | int | display_index | ) |
int getDisplayModeHeight | ( | int | display_index | ) |
int getDisplayModeRefreshRate | ( | int | display_index | ) |
list getDisplayModes | ( | ) |
int getDisplayModeWidth | ( | int | display_index | ) |
int getDisplayState | ( | ) |
int getDriverBuild | ( | ) |
int getDriverDateDay | ( | ) |
int getDriverDateMonth | ( | ) |
int getDriverDateYear | ( | ) |
int getDriverProduct | ( | ) |
int getDriverSubVersion | ( | ) |
int getDriverVersion | ( | ) |
PNUint64 getMaximumCpuFrequency | ( | ) |
int getMaximumWindowHeight | ( | ) |
int getMaximumWindowWidth | ( | ) |
int getMemoryLoad | ( | ) |
int getNumCpuCores | ( | ) |
Returns the number of individual CPU cores in the system, or 0 if this number is not available. A hyperthreaded CPU counts once here.
int getNumLogicalCpus | ( | ) |
Returns the number of logical CPU's in the system, or 0 if this number is not available. A hyperthreaded CPU counts as two or more here.
int getOsPlatformId | ( | ) |
Returns -1 if not set.
int getOsVersionBuild | ( | ) |
Returns -1 if not set.
int getOsVersionMajor | ( | ) |
Returns -1 if not set.
int getOsVersionMinor | ( | ) |
Returns -1 if not set.
PNUint64 getPageFaultCount | ( | ) |
PNUint64 getPageFileSize | ( | ) |
PNUint64 getPageFileUsage | ( | ) |
PNUint64 getPeakPageFileUsage | ( | ) |
PNUint64 getPeakProcessMemory | ( | ) |
PNUint64 getPhysicalMemory | ( | ) |
PNUint64 getProcessMemory | ( | ) |
PNUint64 getProcessVirtualMemory | ( | ) |
int getShaderModel | ( | ) |
int getTextureMemory | ( | ) |
int getTotalDisplayModes | ( | ) |
int getVendorId | ( | ) |
int getVideoMemory | ( | ) |
int getWindowBitsPerPixel | ( | ) |
updateCpuFrequency | ( | int | processor_number | ) |
updateMemoryInformation | ( | ) |