mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
SystemMonitor: Show thread name instead of process name
Add the thread name to CThreadStatistics and display it in the system monitor's process model instead of the process name.
This commit is contained in:
committed by
Andreas Kling
parent
f67d007864
commit
e09a02ad3f
@@ -46,6 +46,7 @@ HashMap<pid_t, CProcessStatistics> CProcessStatisticsReader::get_all()
|
||||
CThreadStatistics thread;
|
||||
thread.tid = thread_object.get("tid").to_u32();
|
||||
thread.times_scheduled = thread_object.get("times_scheduled").to_u32();
|
||||
thread.name = thread_object.get("name").to_string();
|
||||
thread.state = thread_object.get("state").to_string();
|
||||
thread.ticks = thread_object.get("ticks").to_u32();
|
||||
thread.priority = thread_object.get("priority").to_string();
|
||||
|
||||
Reference in New Issue
Block a user