MCPcopy Create free account

hub / github.com/SameSalamander5710/DynamicFPSLimiter / functions

Functions149 in github.com/SameSalamander5710/DynamicFPSLimiter

↓ 10 callersMethodcurrent_stepped_limits
(self)
src/core/fps_utils.py:11
↓ 7 callersMethodset_fractional_framerate
(self, profile_name, framerate, update=False, denominator=False)
src/core/rtss_functions.py:173
↓ 6 callersMethodcurrent_method_callback
(self, sender=None, app_data=None, user_data=None)
src/core/config_manager.py:387
↓ 6 callersMethodparse_input_value
(self, key, value)
src/core/config_manager.py:148
↓ 6 callersMethodupdate_hover_text
Update the tray icon hover text with current profile, method, max FPS, and running status. Currently called within: 1) cm.cur
src/core/tray_functions.py:265
↓ 5 callersMethodload_profile_callback
(self, sender, app_data, user_data)
src/core/config_manager.py:259
↓ 5 callersMethodupdate_global_variables
(self)
src/core/config_manager.py:337
↓ 4 callersMethod_setup_gpu_query_from_instances
Set up GPU query and counters from instances.
src/core/gpu_monitor.py:92
↓ 4 callersMethod_update_menu
(self)
src/core/tray_functions.py:154
↓ 4 callersMethodstop
Gracefully stop the background monitor thread.
src/core/cpu_monitor.py:45
↓ 4 callersMethodupdate_preference_setting
Generic method to update a boolean preference setting. key: The attribute and config key to update (e.g., 'launchonstartup').
src/core/config_manager.py:408
↓ 3 callersMethodbind_font_to_item
Bind a font to a specific item
src/core/themes.py:271
↓ 3 callersMethodcreate
(self)
src/core/autostart.py:22
↓ 3 callersMethodcreate_fonts
Create and register fonts for the application. Returns a dictionary of font references.
src/core/themes.py:242
↓ 3 callersMethodcreate_themes
(self)
src/core/themes.py:28
↓ 3 callersMethoddelete
(self)
src/core/autostart.py:34
↓ 3 callersMethodget_centered_viewport_position
Calculate the center position for a viewport based on screen dimensions. Args: viewport_width (int): Width of th
src/core/tray_functions.py:77
↓ 3 callersFunctionget_hwnd_by_title
Returns the HWND (window handle) for a window with the given title. Returns None if not found.
src/core/tray_functions.py:12
↓ 3 callersMethodinitialize
Initialize PDH query.
src/core/gpu_monitor.py:41
↓ 3 callersMethodis_rtss_running
Checks if RTSS.exe process is running.
src/core/rtss_interface.py:28
↓ 3 callersMethodmake_update_preference_callback
(self, key)
src/core/config_manager.py:419
↓ 3 callersMethodreinitialize
(self, engine_type: str = "engtype_3D")
src/core/gpu_monitor.py:264
↓ 3 callersMethodtask_exists
(self)
src/core/autostart.py:17
↓ 3 callersMethodupdate_profile_dropdown
(self, select_first=False)
src/core/config_manager.py:249
↓ 2 callersMethod_method_menu_items
Return a list of MenuItems for each method (no checkmarks).
src/core/tray_functions.py:201
↓ 2 callersMethod_profile_menu_items
Return a list of MenuItems for each profile (no checkmarks).
src/core/tray_functions.py:185
↓ 2 callersMethodget_fps_for_active_window
Gets the FPS and process name for the active foreground window via RTSS shared memory.
src/core/rtss_interface.py:47
↓ 2 callersFunctionget_mouse_screen_pos
Returns the mouse position as (x, y) in screen coordinates using Windows API.
src/core/tray_functions.py:47
↓ 2 callersFunctionget_tooltips
()
src/core/tooltips.py:3
↓ 2 callersMethodparse_and_normalize_string_to_decimal_set
Parse a comma-separated string into a set of unique Decimals normalized to max decimal places.
src/core/config_manager.py:155
↓ 2 callersMethodsave_profile
(self, profile_name)
src/core/config_manager.py:276
↓ 2 callersFunctionshow_missing_rtss_popup
(message="Could not find RTSSHooks64.dll. Please ensure RivaTuner Statistics Server is installed before runnin
src/core/launch_popup.py:39
↓ 2 callersFunctionshow_to_taskbar
()
src/core/tray_functions.py:32
↓ 2 callersFunctionstart_stop_callback
(sender, app_data, user_data)
src/core/DFL_v4.py:95
↓ 1 callersMethod_create_icon
(self)
src/core/tray_functions.py:229
↓ 1 callersFunction_exit_app
()
src/core/launch_popup.py:79
↓ 1 callersMethod_get_foreground_window_process_id
Gets the process ID of the foreground window.
src/core/rtss_interface.py:38
↓ 1 callersMethod_init_gpu_state
Initialize PDH query and return the handle.
src/core/gpu_monitor.py:51
↓ 1 callersMethod_select_method_from_tray
Callback for selecting a method from the tray menu.
src/core/tray_functions.py:222
↓ 1 callersMethod_select_profile_from_tray
Callback for selecting a profile from the tray menu.
src/core/tray_functions.py:215
↓ 1 callersMethod_setup_functions
(self)
src/core/rtss_functions.py:20
↓ 1 callersMethod_setup_gpu_instances
Set up GPU instances and return a list of them.
src/core/gpu_monitor.py:61
↓ 1 callersMethod_update_icon_image
Update the tray icon image based on running state and autopilot.
src/core/tray_functions.py:292
↓ 1 callersFunctionadd_tooltip
Adds a tooltip to a widget using consistent naming convention. key: The key used in the tooltips dictionary
src/core/tooltips.py:34
↓ 1 callersFunctionapply_all_tooltips
Automatically adds tooltips to all widgets that have entries in the tooltips dictionary
src/core/tooltips.py:49
↓ 1 callersMethodapply_current_input_values
(self)
src/core/config_manager.py:348
↓ 1 callersFunctionautopilot_on_check
Checks if the active process matches a profile and switches profile/running state if needed.
src/core/autopilot.py:37
↓ 1 callersFunctionbuild_executable
()
src/__main__.py:28
↓ 1 callersFunctionbuild_profile_section
()
src/core/DFL_v4.py:496
↓ 1 callersMethodcalculate_percentile
Calculate the percentile of a list of numbers. Args: data (list): The list of numbers. percentile (float): T
src/core/cpu_monitor.py:51
↓ 1 callersMethodcalculate_percentile
Calculate the percentile of a list of numbers. Args: data (list): The list of numbers. percentile (float): T
src/core/gpu_monitor.py:278
↓ 1 callersFunctioncheck_min_greater_than_max
(dpg, cm)
src/core/warning.py:3
↓ 1 callersFunctioncheck_min_greater_than_minvalidfps
(dpg, cm, mincap)
src/core/warning.py:15
↓ 1 callersFunctioncheck_non_global_profile_for_autopilot
(cm)
src/core/warning.py:20
↓ 1 callersFunctioncheck_rtss_running
(rtss_manager)
src/core/warning.py:10
↓ 1 callersMethodcleanup
Clean up PDH query handle.
src/core/gpu_monitor.py:176
↓ 1 callersMethoddelete_profile
(self, profile_name)
src/core/rtss_functions.py:73
↓ 1 callersMethodenable_limiter
(self)
src/core/rtss_functions.py:133
↓ 1 callersFunctionget_active_warnings
(dpg, cm, rtss_manager, mincap)
src/core/warning.py:25
↓ 1 callersMethodget_current_app_path
()
src/core/autostart.py:14
↓ 1 callersMethodget_font
Get a specific font by name
src/core/themes.py:267
↓ 1 callersFunctionget_foreground_process_name
Returns the process name of the currently focused (foreground) window. Works for any application, not just 3D apps.
src/core/autopilot.py:4
↓ 1 callersMethodget_gpu_usage
(self, target_luid: Optional[str] = None, engine_type: str = "engtype_")
src/core/gpu_monitor.py:127
↓ 1 callersMethodget_profile_property
(self, profile_name, property_name, size=4)
src/core/rtss_functions.py:79
↓ 1 callersMethodget_rtss_install_path
(self)
src/core/rtss_functions.py:57
↓ 1 callersMethodget_setting
Get setting from appropriate config section based on key type.
src/core/config_manager.py:196
↓ 1 callersFunctionhide_from_taskbar
()
src/core/tray_functions.py:24
↓ 1 callersFunctionis_admin
Check if the script is running with administrator privileges.
src/__main__.py:7
↓ 1 callersFunctionis_left_mouse_button_down
()
src/core/tray_functions.py:53
↓ 1 callersMethodload_or_init_configs
(self)
src/core/config_manager.py:46
↓ 1 callersMethodload_preferences
(self)
src/core/config_manager.py:138
↓ 1 callersMethodmake_ratioed_values
(self, maximum, minimum, ratio)
src/core/fps_utils.py:38
↓ 1 callersMethodmake_stepped_values
(self, maximum, minimum, step)
src/core/fps_utils.py:32
↓ 1 callersMethodminimize_on_startup_if_needed
Minimizes the app to tray if minimize is True.
src/core/tray_functions.py:346
↓ 1 callersMethodminimize_to_tray
(self)
src/core/tray_functions.py:334
↓ 1 callersMethodparse_decimal_set_to_string
(self, decimal_set)
src/core/config_manager.py:182
↓ 1 callersFunctionrelaunch_as_admin
Relaunch the script with administrator privileges.
src/__main__.py:14
↓ 1 callersFunctionreset_stats
()
src/core/DFL_v4.py:152
↓ 1 callersMethodrestore_from_tray
(self)
src/core/tray_functions.py:339
↓ 1 callersFunctionrun_app
()
src/__main__.py:24
↓ 1 callersMethodset_fractional_fps_direct
(self, profile_name, framerate, update=True)
src/core/rtss_functions.py:194
↓ 1 callersMethodset_limit_denominator
(self, profile_name, new_denominator, update=True)
src/core/rtss_functions.py:139
↓ 1 callersMethodset_profile_property
(self, profile_name, property_name, value, size=4, update=True)
src/core/rtss_functions.py:87
↓ 1 callersMethodset_running_state
Update running state and tray menu label.
src/core/tray_functions.py:178
↓ 1 callersFunctionshow_rtss_error_and_exit
Shows an RTSS error popup with full DearPyGui context creation and execution. This function handles the complete workflow and exits the appli
src/core/launch_popup.py:95
↓ 1 callersMethodshow_tray
(self)
src/core/tray_functions.py:323
↓ 1 callersMethodstartup_profile_selection
(self)
src/core/config_manager.py:375
↓ 1 callersMethodtoggle_luid_selection
Toggle between tracking all GPUs and the most active LUID. Updates internal state and returns the new luid and selection state.
src/core/gpu_monitor.py:239
↓ 1 callersFunctionupdate_all_tooltip_visibility
Updates the visibility of all tooltips based on ShowTooltip value.
src/core/tooltips.py:57
↓ 1 callersMethodupdate_fps_cap_visualization
(self)
src/core/fps_utils.py:69
↓ 1 callersMethodupdate_if_needed
(self, startup_checkbox)
src/core/autostart.py:38
↓ 1 callersFunctionupdate_plot_FPS
(fps_val, cap_val)
src/core/DFL_v4.py:176
↓ 1 callersFunctionupdate_plot_usage
(time_val, gpu_val, cpu_val)
src/core/DFL_v4.py:203
Method__init__
(self, viewport_width=420)
src/core/launch_popup.py:19
Method__init__
(self, cm, logger=None, dpg=None, viewport_width=610)
src/core/fps_utils.py:4
Method__init__
(self, app_name, icon_path, on_restore, on_exit, viewport_width, config_manager_instance, hover_text=None, sta
src/core/tray_functions.py:58
Method__init__
(self, app_path=None, task_name=TASK_NAME)
src/core/autostart.py:9
Method__init__
(self, logger_instance)
src/core/rtss_functions.py:10
Method__init__
(self, get_running, logger_instance, dpg_instance, interval=0.1, max_samples=20, percentile=70)
src/core/cpu_monitor.py:9
Method__init__
Initializes the RTSS Interface. Args: logger_instance: An instance of the logger module/class. dpg_instance:
src/core/rtss_interface.py:16
next →1–100 of 149, ranked by callers