mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:35:07 +00:00
Kernel+SystemMonitor: Expose the number of set CoW bits in each Region
This number tells us how many more pages in a given region will trigger a CoW fault if written to.
This commit is contained in:
parent
9ad151c665
commit
3fbc50a350
4 changed files with 14 additions and 0 deletions
|
@ -37,6 +37,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget(GWidget* parent)
|
|||
return "Volatile";
|
||||
return "Non-volatile";
|
||||
});
|
||||
pid_vm_fields.empend("cow_pages", "# CoW", TextAlignment::CenterRight);
|
||||
pid_vm_fields.empend("name", "Name", TextAlignment::CenterLeft);
|
||||
m_json_model = GJsonArrayModel::create({}, move(pid_vm_fields));
|
||||
m_table_view->set_model(GSortingProxyModel::create(*m_json_model));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue