diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-11-20 07:30:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 02:30:57 -0500 |
commit | 10a37c263a436a176cd82b5e2a688882acbd99f4 (patch) | |
tree | e6fddeabe781844523eb17d1b50f1e12168e4a79 /src/options.rs | |
parent | e4a6e751ec60f0f2363e0a3493a4f15c1ddc1d85 (diff) |
change: small gpu proc changes (#1325)
* other: use consistent casing with Mem/Mem% in processes for GPU cols
* other: remove mem check for GPU enable check
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.rs b/src/options.rs index 031b3cc4..a4d55047 100644 --- a/src/options.rs +++ b/src/options.rs @@ -433,7 +433,7 @@ pub fn build_app( use_cpu: used_widget_set.get(&Cpu).is_some() || used_widget_set.get(&BasicCpu).is_some(), use_mem, use_cache: use_mem && get_enable_cache_memory(matches, config), - use_gpu: use_mem && get_enable_gpu(matches, config), + use_gpu: get_enable_gpu(matches, config), use_net: used_widget_set.get(&Net).is_some() || used_widget_set.get(&BasicNet).is_some(), use_proc: used_widget_set.get(&Proc).is_some(), use_disk: used_widget_set.get(&Disk).is_some(), |