1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00
ladybird/Userland/DevTools
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
..
HackStudio LibRegex+Everywhere: Make LibRegex more unicode-aware 2021-07-18 21:10:55 +04:30
Inspector AK+Everywhere: Change int to size_t in JsonObject and JsonArray 2021-06-29 13:18:03 +02:00
IPCCompiler IPCCompiler: Use GENERATE_DEBUG from AK/Debug instead of custom defines 2021-07-12 12:26:52 +02:00
Playground Everywhere: Prefer using "..."sv over StringView { "..." } 2021-07-04 14:24:03 +02:00
Profiler Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
StateMachineGenerator Userland: Change typedef to using directive 2021-05-21 10:07:22 +01:00
UserspaceEmulator UserpaceEmulator: Handle possibly unaligned IO 2021-07-14 11:26:34 +04:30
CMakeLists.txt Userland: Disable Hackstudio and UE on x86_64 2021-06-30 19:05:51 +02:00