diff options
author | Twan Stok <twanstok@gmail.com> | 2023-04-13 04:51:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 22:51:41 -0400 |
commit | 1b1e80ec3cf51804204982d6c39f0b64ac735a69 (patch) | |
tree | 77bacd1b76000bc14ccc8fed26daf78aef4a4550 /sample_configs/default_config.toml | |
parent | e61e5f2af6b5f533461e15bb04250e9ad94a6627 (diff) |
feature: add buffer and cache memory (#1063)
* First implementation of cache memory data collection, mostly copied from RAM and swap implementations
* First implementation of cache memory display, copied from RAM and swap implementations. placed cache as second in the list as it is more similar to the RAM than any other item in the list
* expanded comment to explain method.
* rustfmt
* all cache-related code excluded on windows, in the process refactored src/data_conversion.rs convert_mem_label() to convert a single label instead of all at once
* better factoring-out of cache memory logic to allow individual disabling
* added --enable_cache_memory flag, disabled cache memory collection by default
* renamed CCH to CHE
not sure how i messed that up
* changelog updated
* Added command line flag documentation
* updated config file documentation
* specified that buffer and cache memory display does not work on windows
* resolved merge conflicts
* added documentation to cache memory data collection
* capitalized Windows
* implemented missing canvas styling logic
* fixed misplaced no-windows flag
* reduced colour collisions, as cache colour was the same as the first GPU colour
* made FIFTH_COLOUR constant windows-only
* Revert "made FIFTH_COLOUR constant windows-only"
This reverts commit 72698f1dd7e2de7dbda843708ece6a3dba66f94f.
* made FIFTH_COLOUR constant non-windows-only
* minor fix for basic mode row count
* Update src/app/data_harvester/memory/sysinfo.rs
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
* Update src/canvas/widgets/mem_basic.rs
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
* updated default_config.toml
* formatting
---------
Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
Diffstat (limited to 'sample_configs/default_config.toml')
-rw-r--r-- | sample_configs/default_config.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sample_configs/default_config.toml b/sample_configs/default_config.toml index 947c8710..538d6347 100644 --- a/sample_configs/default_config.toml +++ b/sample_configs/default_config.toml @@ -75,6 +75,8 @@ #disable_advanced_kill = false # Shows GPU(s) memory #enable_gpu_memory = false +# Shows cache and buffer memory +#enable_cache_memory = false # How much data is stored at once in terms of time. #retention = "10m" @@ -96,6 +98,8 @@ #swap_color="LightYellow" # Represents the colour ARC will use in the memory legend and graph. #arc_color="LightCyan" +# Represents the colour cache and buffer memory will use in the memory legend and graph. +#cache_color="LightRed" # Represents the colour the GPU will use in the memory 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. |