ProcessManager: Don't show the colonel task. :^)

This commit is contained in:
Andreas Kling 2019-02-28 16:49:02 +01:00
parent 28652a0bf7
commit 2f266ef649
Notes: sideshowbarker 2024-07-19 15:25:59 +09:00

View file

@ -151,6 +151,9 @@ void ProcessTableModel::update()
ASSERT(ok);
state.physical = parts[13].to_uint(ok);
ASSERT(ok);
sum_nsched += nsched;
if (pid == 0)
continue;
{
auto it = m_processes.find(pid);
@ -163,8 +166,6 @@ void ProcessTableModel::update()
(*it).value->current_state = state;
live_pids.set(pid);
sum_nsched += nsched;
}
int rc = fclose(fp);
ASSERT(rc == 0);