mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
CProcessStatisticsReader: Be consistent about terminology from the kernel down
This commit is contained in:
parent
9724d540b6
commit
a9d1a86e6e
Notes:
sideshowbarker
2024-07-19 13:11:53 +09:00
Author: https://github.com/rburchell
Commit: a9d1a86e6e
Pull-request: https://github.com/SerenityOS/serenity/pull/331
Reviewed-by: https://github.com/awesomekling ✅
7 changed files with 74 additions and 48 deletions
|
@ -585,6 +585,8 @@ ByteBuffer procfs$all(InodeIdentifier)
|
|||
InterruptDisabler disabler;
|
||||
auto processes = Process::all_processes();
|
||||
JsonArray array;
|
||||
|
||||
// Keep this in sync with CProcessStatistics.
|
||||
auto build_process = [&](const Process& process) {
|
||||
JsonObject process_object;
|
||||
process_object.set("pid", process.pid());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue