Commit 28c7c52
committed
Fix Total CPU % on /workers tab to normalize by total nthreads
The WorkerTable's Total CPU % divided by len(workers) instead of
sum(nthreads), producing incorrect values when workers have multiple
threads (e.g., 400% instead of 50%). This aligns the "cpu" column
with the already-correct "cpu_fraction" column, matching the same
fix pattern as PR #3897 for memory_percent.
Closes #84901 parent 4fb4814 commit 28c7c52
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4308 | 4308 | | |
4309 | 4309 | | |
4310 | 4310 | | |
4311 | | - | |
| 4311 | + | |
4312 | 4312 | | |
4313 | 4313 | | |
4314 | 4314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
567 | 575 | | |
568 | 576 | | |
569 | 577 | | |
| |||
0 commit comments