diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-08-21 19:59:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 22:59:49 -0400 |
commit | c82f4d40b40649ae53037701fadc2f5c1be9e901 (patch) | |
tree | dd7e24db33aea9528c6834732479e92a3c12a0e1 /src/lib.rs | |
parent | ff15649be77f2e66444cc98e1b1e87a20767eeef (diff) |
feature: Support memb (mem bytes) searching in processes
Supports searching by the new mem value.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -524,8 +524,8 @@ pub fn sort_process_data( ProcessSorting::Mem => { to_sort_vec.sort_by(|a, b| { utils::gen_util::get_ordering( - a.mem_usage_kb, - b.mem_usage_kb, + a.mem_usage_bytes, + b.mem_usage_bytes, proc_widget_state.process_sorting_reverse, ) }); |