File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/app/data_harvester/processes Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
1414- [ #637 ] ( https://github.com/ClementTsang/bottom/pull/637 ) : Fix process CPU calculation if /proc/stat CPU line has less values than expected
1515
16+ ## Changes
17+
18+ - [ #637 ] ( https://github.com/ClementTsang/bottom/pull/637 ) : Remove duplicate guest time in process CPU calculation
19+
1620## [ 0.6.5] - 2021-12-19
1721
1822## Bug Fixes
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ fn calculate_idle_values(line: String) -> (f64, f64) {
5353 let steal: f64 = str_to_f64 ( val. next ( ) ) ;
5454
5555 // Note we do not get guest/guest_nice, as they are calculated as part of user/nice respectively
56+ // See https://github.com/htop-dev/htop/blob/main/linux/LinuxProcessList.c
5657
5758 let idle = idle + iowait;
5859 let non_idle = user + nice + system + irq + softirq + steal;
You can’t perform that action at this time.
0 commit comments