Panda3D
|
This class contains various display information. More...
#include <pandadoc.hpp>
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__ () | |
__init__ (const DisplayInformation) | |
uint64_t | getAvailablePageFileSize () |
uint64_t | getAvailablePhysicalMemory () |
uint64_t | getAvailableProcessVirtualMemory () |
unsigned int | getCpuBrandIndex () |
str | getCpuBrandString () |
uint64_t | getCpuFrequency () |
str | getCpuVendorString () |
unsigned int | getCpuVersionInformation () |
uint64_t | getCurrentCpuFrequency () |
int | getCurrentDisplayModeIndex () |
Returns the index of the current display mode (determined at the time of application start) in the display mode array, or -1 if this could not be determined. | |
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 () |
uint64_t | 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. | |
int | getNumLogicalCpus () |
Returns the number of logical CPU's in the system, or 0 if this number is not available. | |
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. | |
uint64_t | getPageFaultCount () |
uint64_t | getPageFileSize () |
uint64_t | getPageFileUsage () |
uint64_t | getPeakPageFileUsage () |
uint64_t | getPeakProcessMemory () |
uint64_t | getPhysicalMemory () |
uint64_t | getProcessMemory () |
uint64_t | getProcessVirtualMemory () |
GraphicsStateGuardian::ShaderModel | getShaderModel () |
int | getTextureMemory () |
int | getTotalDisplayModes () |
int | getVendorId () |
int | getVideoMemory () |
int | getWindowBitsPerPixel () |
updateCpuFrequency (int processor_number) | |
updateMemoryInformation () | |
Static Public Member Functions | |
static uint64_t | getCpuTime () |
Equivalent to the rdtsc processor instruction. | |
This class contains various display information.
enum DetectionState |
__init__ | ( | ) |
__init__ | ( | const DisplayInformation | ) |
uint64_t getAvailablePageFileSize | ( | ) |
uint64_t getAvailablePhysicalMemory | ( | ) |
uint64_t getAvailableProcessVirtualMemory | ( | ) |
unsigned int getCpuBrandIndex | ( | ) |
str getCpuBrandString | ( | ) |
uint64_t getCpuFrequency | ( | ) |
|
static |
Equivalent to the rdtsc processor instruction.
str getCpuVendorString | ( | ) |
unsigned int getCpuVersionInformation | ( | ) |
uint64_t getCurrentCpuFrequency | ( | ) |
int getCurrentDisplayModeIndex | ( | ) |
Returns the index of the current display mode (determined at the time of application start) in the display mode array, or -1 if this could not be determined.
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 | ( | ) |
uint64_t 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.
uint64_t getPageFaultCount | ( | ) |
uint64_t getPageFileSize | ( | ) |
uint64_t getPageFileUsage | ( | ) |
uint64_t getPeakPageFileUsage | ( | ) |
uint64_t getPeakProcessMemory | ( | ) |
uint64_t getPhysicalMemory | ( | ) |
uint64_t getProcessMemory | ( | ) |
uint64_t getProcessVirtualMemory | ( | ) |
GraphicsStateGuardian::ShaderModel getShaderModel | ( | ) |
int getTextureMemory | ( | ) |
int getTotalDisplayModes | ( | ) |
int getVendorId | ( | ) |
int getVideoMemory | ( | ) |
int getWindowBitsPerPixel | ( | ) |
updateCpuFrequency | ( | int | processor_number | ) |
updateMemoryInformation | ( | ) |