1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

SystemMonitor: Highlight kernel processes a bit better in SystemMonitor

Kernel processes are now displayed with a gear icon and a "(*)" suffix
in the process list.
This commit is contained in:
Andreas Kling 2021-04-06 17:18:43 +02:00
parent ee2a1f5af7
commit 7b9754d976
2 changed files with 9 additions and 0 deletions

View file

@ -109,6 +109,7 @@ private:
pid_t sid;
unsigned ticks_user;
unsigned ticks_kernel;
bool kernel;
String executable;
String name;
String state;
@ -146,4 +147,5 @@ private:
NonnullOwnPtrVector<CpuInfo> m_cpus;
Vector<int> m_tids;
RefPtr<Core::File> m_proc_all;
GUI::Icon m_kernel_process_icon;
};