SystemMonitor: Add support for 64-bit addresses
This commit is contained in:
parent
ce123c3b7f
commit
ed25a6ad0d
Notes:
sideshowbarker
2024-07-18 08:48:29 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/ed25a6ad0d1 Pull-request: https://github.com/SerenityOS/serenity/pull/8795 Reviewed-by: https://github.com/Hendiadyoin1
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget()
|
|||
Vector<GUI::JsonArrayModel::FieldSpec> pid_vm_fields;
|
||||
pid_vm_fields.empend(
|
||||
"Address", Gfx::TextAlignment::CenterLeft,
|
||||
[](auto& object) { return String::formatted("{:p}", object.get("address").to_u32()); },
|
||||
[](auto& object) { return object.get("address").to_u32(); });
|
||||
[](auto& object) { return String::formatted("{:p}", object.get("address").to_u64()); },
|
||||
[](auto& object) { return object.get("address").to_u64(); });
|
||||
pid_vm_fields.empend("size", "Size", Gfx::TextAlignment::CenterRight);
|
||||
pid_vm_fields.empend("amount_resident", "Resident", Gfx::TextAlignment::CenterRight);
|
||||
pid_vm_fields.empend("amount_dirty", "Dirty", Gfx::TextAlignment::CenterRight);
|
||||
|
|
Loading…
Add table
Reference in a new issue