diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-15 16:53:00 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-15 16:53:00 +0100 |
commit | 3fbc50a3507d323ac3f53d98617714ce848e9899 (patch) | |
tree | dca1b96336ee3e301525b50b5da24e212bf46fc8 /Applications/SystemMonitor | |
parent | 9ad151c665300418a6298d80a771275fa3db85e0 (diff) | |
download | serenity-3fbc50a3507d323ac3f53d98617714ce848e9899.zip |
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.
Diffstat (limited to 'Applications/SystemMonitor')
-rw-r--r-- | Applications/SystemMonitor/ProcessMemoryMapWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp b/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp index 8ce589303f..c624cf01d2 100644 --- a/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp +++ b/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp @@ -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)); |