DisplayInformation

from acron.core import DisplayInformation
class DisplayInformation

Bases:

This class contains various display information.

Inheritance diagram

digraph inheritance4b7db8beb4 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "DisplayInformation" [URL="acron.core.DisplayInformation.html#acron.core.DisplayInformation",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "DisplayInformation" [arrowsize=0.75,style=""]; }
enum DetectionState
enumerator DS_unknown = 0
enumerator DS_success = 1
enumerator DS_direct_3d_create_error = 2
enumerator DS_create_window_error = 3
enumerator DS_create_device_error = 4
__init__()
get_available_page_file_size()
get_available_physical_memory()
get_available_process_virtual_memory()
get_cpu_brand_index()
get_cpu_brand_string()
get_cpu_frequency()
static get_cpu_time()

Equivalent to the rdtsc processor instruction.

get_cpu_vendor_string()
get_cpu_version_information()
get_current_cpu_frequency()
get_current_display_mode_index()

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.

get_device_id()
get_display_mode()
get_display_mode_bits_per_pixel()

Deprecated: use get_display_mode() instead.

get_display_mode_fullscreen_only()

Deprecated: use get_display_mode() instead.

get_display_mode_height()

Deprecated: use get_display_mode() instead.

get_display_mode_refresh_rate()

Deprecated: use get_display_mode() instead.

get_display_mode_width()

Older interface for display modes.

Deprecated: use get_display_mode() instead.

get_display_modes() → list
get_display_state()
get_driver_build()
get_driver_date_day()
get_driver_date_month()
get_driver_date_year()
get_driver_product()
get_driver_sub_version()
get_driver_version()
get_maximum_cpu_frequency()
get_maximum_window_height()
get_maximum_window_width()
get_memory_load()
get_num_cpu_cores()

Returns the number of individual CPU cores in the system, or 0 if this number is not available. A hyperthreaded CPU counts once here.

get_num_logical_cpus()

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.

get_os_platform_id()

Returns -1 if not set.

get_os_version_build()

Returns -1 if not set.

get_os_version_major()

Returns -1 if not set.

get_os_version_minor()

Returns -1 if not set.

get_page_fault_count()
get_page_file_size()
get_page_file_usage()
get_peak_page_file_usage()
get_peak_process_memory()
get_physical_memory()
get_process_memory()
get_process_virtual_memory()
get_shader_model()
get_texture_memory()
get_total_display_modes()
get_vendor_id()
get_video_memory()
get_window_bits_per_pixel()
update_cpu_frequency()
update_memory_information()