| Summary: | Plasma System Monitor reporting incorrect CPU usage for applications | ||
|---|---|---|---|
| Product: | [Applications] plasma-systemmonitor | Reporter: | dominickator122102 |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, fanzhuyifan, plasma-bugs-null, putr4.s |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.90.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/ec2b8120bc17ab53f3eae08ad157484b3bc82412 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | As you can see the CPU usage for Firefox is more then the entire system is using. | ||
|
Description
dominickator122102
2023-12-04 20:43:28 UTC
I think the CPU usage for the apps is calculated with 100% being fully using a single core, while for the entire system 100% means fully using all the cores in the system. https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/242 When using the "scaled" display style (the default) usage should be scaled by the total number of cores. That broke in 6 due to some changes with tables. Git commit ec2b8120bc17ab53f3eae08ad157484b3bc82412 by Arjen Hiemstra. Committed on 06/12/2023 at 12:24. Pushed by ahiemstra into branch 'master'. table: Use base delegate text in cell delegates We want to be able to override the cell text, which hardcoding to model.display breaks. Instead, we can use the text property of the delegate and default that to model.display. M +2 -0 src/table/BaseCellDelegate.qml M +1 -1 src/table/FirstCellDelegate.qml M +2 -2 src/table/LineChartCellDelegate.qml M +1 -2 src/table/TextCellDelegate.qml https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/ec2b8120bc17ab53f3eae08ad157484b3bc82412 |