mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +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
@@ -295,11 +295,12 @@ void ProcessModel::update()
|
||||
state.ipv4_socket_write_bytes = thread.ipv4_socket_write_bytes;
|
||||
state.file_read_bytes = thread.file_read_bytes;
|
||||
state.file_write_bytes = thread.file_write_bytes;
|
||||
state.name = it.value.name;
|
||||
state.amount_virtual = it.value.amount_virtual;
|
||||
state.amount_resident = it.value.amount_resident;
|
||||
state.icon_id = it.value.icon_id;
|
||||
|
||||
state.name = thread.name;
|
||||
|
||||
state.tid = thread.tid;
|
||||
state.times_scheduled = thread.times_scheduled;
|
||||
state.priority = thread.priority;
|
||||
|
||||
Reference in New Issue
Block a user