Panda3D
|
This class contains various display information. More...
#include "displayInformation.h"
Public Types | |
enum | DetectionState { DS_unknown, DS_success, DS_direct_3d_create_error, DS_create_window_error, DS_create_device_error } |
Public Member Functions | |
PN_uint64 | get_available_page_file_size () |
PN_uint64 | get_available_physical_memory () |
PN_uint64 | get_available_process_virtual_memory () |
unsigned int | get_cpu_brand_index () |
const char * | get_cpu_brand_string () |
PN_uint64 | get_cpu_frequency () |
unsigned int | get_cpu_id_data (int index) |
Returns part of cpu id binary data based on the index. | |
int | get_cpu_id_size () |
Returns the number of 32-bit values for cpu id binary data. | |
int | get_cpu_id_version () |
PN_uint64 | get_cpu_time () |
const char * | get_cpu_vendor_string () |
unsigned int | get_cpu_version_information () |
PN_uint64 | get_current_cpu_frequency () |
int | get_device_id () |
int | get_display_mode_bits_per_pixel (int display_index) |
int | get_display_mode_fullscreen_only (int display_index) |
int | get_display_mode_height (int display_index) |
int | get_display_mode_refresh_rate (int display_index) |
int | get_display_mode_width (int display_index) |
int | get_display_state () |
int | get_driver_build () |
int | get_driver_date_day () |
int | get_driver_date_month () |
int | get_driver_date_year () |
int | get_driver_product () |
int | get_driver_sub_version () |
int | get_driver_version () |
PN_uint64 | get_maximum_cpu_frequency () |
int | get_maximum_window_height () |
int | get_maximum_window_width () |
int | get_memory_load () |
int | get_num_cpu_cores () |
Returns the number of individual CPU cores in the system, or 0 if this number is not available. | |
int | get_num_logical_cpus () |
Returns the number of logical CPU's in the system, or 0 if this number is not available. | |
int | get_os_platform_id () |
Returns -1 if not set. | |
int | get_os_version_build () |
Returns -1 if not set. | |
int | get_os_version_major () |
Returns -1 if not set. | |
int | get_os_version_minor () |
Returns -1 if not set. | |
PN_uint64 | get_page_fault_count () |
PN_uint64 | get_page_file_size () |
PN_uint64 | get_page_file_usage () |
PN_uint64 | get_peak_page_file_usage () |
PN_uint64 | get_peak_process_memory () |
PN_uint64 | get_physical_memory () |
PN_uint64 | get_process_memory () |
PN_uint64 | get_process_virtual_memory () |
int | get_shader_model () |
int | get_texture_memory () |
int | get_total_display_modes () |
int | get_vendor_id () |
int | get_video_memory () |
int | get_window_bits_per_pixel () |
void | update_cpu_frequency (int processor_number) |
void | update_memory_information () |
Public Attributes | |
PN_uint64 | _available_page_file_size |
PN_uint64 | _available_physical_memory |
PN_uint64 | _available_process_virtual_memory |
unsigned int | _cpu_brand_index |
char * | _cpu_brand_string |
PN_uint64 | _cpu_frequency |
unsigned int * | _cpu_id_data |
int | _cpu_id_size |
int | _cpu_id_version |
PN_uint64(* | _cpu_time_function )(void) |
char * | _cpu_vendor_string |
unsigned int | _cpu_version_information |
PN_uint64 | _current_cpu_frequency |
int | _device_id |
DisplayMode * | _display_mode_array |
int | _driver_build |
int | _driver_date_day |
int | _driver_date_month |
int | _driver_date_year |
int | _driver_product |
int | _driver_sub_version |
int | _driver_version |
int | _get_adapter_display_mode_state |
int | _get_device_caps_state |
void(* | _get_memory_information_function )(DisplayInformation *display_information) |
PN_uint64 | _maximum_cpu_frequency |
int | _maximum_window_height |
int | _maximum_window_width |
int | _memory_load |
int | _num_cpu_cores |
int | _num_logical_cpus |
int | _os_platform_id |
int | _os_version_build |
int | _os_version_major |
int | _os_version_minor |
PN_uint64 | _page_fault_count |
PN_uint64 | _page_file_size |
PN_uint64 | _page_file_usage |
PN_uint64 | _peak_page_file_usage |
PN_uint64 | _peak_process_memory |
PN_uint64 | _physical_memory |
PN_uint64 | _process_memory |
PN_uint64 | _process_virtual_memory |
int | _shader_model |
DetectionState | _state |
int | _texture_memory |
int | _total_display_modes |
int(* | _update_cpu_frequency_function )(int processor_number, DisplayInformation *display_information) |
int | _vendor_id |
int | _video_memory |
int | _window_bits_per_pixel |
This class contains various display information.
Definition at line 34 of file displayInformation.h.
unsigned int DisplayInformation::get_cpu_id_data | ( | int | index | ) |
Returns part of cpu id binary data based on the index.
Definition at line 549 of file displayInformation.cxx.
Returns the number of 32-bit values for cpu id binary data.
Definition at line 538 of file displayInformation.cxx.
Returns the number of individual CPU cores in the system, or 0 if this number is not available.
A hyperthreaded CPU counts once here.
Definition at line 681 of file displayInformation.cxx.
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.
Definition at line 693 of file displayInformation.cxx.
Returns -1 if not set.
Definition at line 733 of file displayInformation.cxx.
Returns -1 if not set.
Definition at line 723 of file displayInformation.cxx.
Returns -1 if not set.
Definition at line 703 of file displayInformation.cxx.
Returns -1 if not set.
Definition at line 713 of file displayInformation.cxx.