ladybird/Userland/Applications/SystemMonitor
Tom 7e77a2ec40 Everywhere: Improve CPU usage calculation
As threads come and go, we can't simply account for how many time
slices the threads at any given point may have been using. We need to
also account for threads that have since disappeared. This means we
also need to track how many time slices we have expired globally.

However, because this doesn't account for context switches outside of
the system timer tick values may still be under-reported. To solve this
we will need to track more accurate time information on each context
switch.

This also fixes top's cpu usage calculation which was still based on
the number of context switches.

Fixes #6473
2021-07-18 22:08:26 +02:00
..
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
DevicesModel.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
DevicesModel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GraphWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GraphWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InterruptsWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InterruptsWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp Everywhere: Remove unused local variables and lambda captures 2021-07-08 10:11:00 +02:00
MemoryStatsWidget.cpp Kernel: Use PAE to allow accessing all physical memory beyond 4GB 2021-07-08 11:43:34 +02:00
MemoryStatsWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkStatisticsWidget.cpp SystemMonitor: Show UDP sockets 2021-05-18 08:03:40 +02:00
NetworkStatisticsWidget.h SystemMonitor: Show UDP sockets 2021-05-18 08:03:40 +02:00
ProcessFileDescriptorMapWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessFileDescriptorMapWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessMemoryMapWidget.cpp SystemMonitor: Add support for 64-bit addresses 2021-07-18 17:31:13 +02:00
ProcessMemoryMapWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessModel.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
ProcessModel.h Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
ProcessStateWidget.cpp LibGfx: Remove Gfx::FontDatabase::default_bold_font() 2021-05-20 20:55:29 +02:00
ProcessStateWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessUnveiledPathsWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessUnveiledPathsWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ThreadStackWidget.cpp LibThreading: Add ability to cancel ongoing BackgroundActions 2021-07-02 16:47:14 +02:00
ThreadStackWidget.h SystemMonitor: Symbolicate process stacks in a background thread 2021-05-22 19:57:19 +02:00