diff options
author | Justin Martin <jaming@protonmail.com> | 2023-11-19 23:54:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 23:54:15 -0500 |
commit | e4a6e751ec60f0f2363e0a3493a4f15c1ddc1d85 (patch) | |
tree | 5ebc213ddec3f83464deaa3e88b9021e8374226f /sample_configs | |
parent | 5df66006d8df0ff03d839b15ac9ba328d58d3252 (diff) |
feature: Add gpu proc info (#1276)
* Add gpu util, power and procs.
Consolidated gpu calls into `data_harvester`.
Changed config flag from `enable_gpu_memory` to `enable_gpu`.
Added GPU utilization to the cpu widget.
Added GPU process memory usage and utilization percentage to the proc widget.
Added key binds for gpu process toggling.
Added GPU power usage to the battery widget.
Added bounds check to battery widget header.
Show battery widget header when `gpu_enable`.
Added feature flag `legacy-functions` to `nvml-wrapper`.
updated config file(s).
updated help text.
updated docs.
* Code Review:
Remove GPU util from cpu widget
Remove GPU power from battery widget
Use reference for gpu widgets_to_harvest
Extract match arm to function for feature gate
* Code Review: add gmem% toggle
* Do not poll gpu temp when filtered
* Code Review Two Changes:
adjust doc wordings
remove extra references
remove extra widget harvest checks
init proc gpu values
use convert_temp_unit for gpu temp
Diffstat (limited to 'sample_configs')
-rw-r--r-- | sample_configs/default_config.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sample_configs/default_config.toml b/sample_configs/default_config.toml index e7b4058e..7d6a9f28 100644 --- a/sample_configs/default_config.toml +++ b/sample_configs/default_config.toml @@ -74,7 +74,7 @@ # Hides advanced options to stop a process on Unix-like systems. #disable_advanced_kill = false # Shows GPU(s) memory -#enable_gpu_memory = false +#enable_gpu = false # Shows cache and buffer memory #enable_cache_memory = false # How much data is stored at once in terms of time. @@ -83,7 +83,7 @@ # These are flags around the process widget. #[processes] -#columns = ["PID", "Name", "CPU%", "Mem%", "R/s", "W/s", "T.Read", "T.Write", "User", "State"] +#columns = ["PID", "Name", "CPU%", "Mem%", "R/s", "W/s", "T.Read", "T.Write", "User", "State", "GMEM%", "GPU%"] # These are all the components that support custom theming. Note that colour support # will depend on terminal support. @@ -103,7 +103,7 @@ #swap_color="LightYellow" # Represents the colour ARC will use in the memory legend and graph. #arc_color="LightCyan" -# Represents the colour the GPU will use in the memory legend and graph. +# Represents the colour the GPU will use in the legend and graph. #gpu_core_colors=["LightGreen", "LightBlue", "LightRed", "Cyan", "Green", "Blue", "Red"] # Represents the colour rx will use in the network legend and graph. #rx_color="LightCyan" |