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 /src/app.rs | |
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 'src/app.rs')
-rw-r--r-- | src/app.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -60,6 +60,7 @@ pub struct AppConfigFields { pub table_gap: u16, pub disable_click: bool, pub enable_gpu_memory: bool, + pub enable_cache_memory: bool, pub show_table_scroll_position: bool, pub is_advanced_kill: bool, // TODO: Remove these, move network details state-side. |