serenity/Userland/Applets
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
..
Audio Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
ClipboardHistory Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Network Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
ResourceGraph Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
CMakeLists.txt Applets: Remove unused UserName applet 2021-04-15 20:38:12 +02:00