Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: base/trace_event/memory_dump_manager.cc

Issue 2852473002: memory-infra: Plumb platform_private_footprint to MemoryDumpManager (Closed)
Patch Set: remove log Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/trace_event/memory_dump_request_args.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/memory_dump_manager.cc
diff --git a/base/trace_event/memory_dump_manager.cc b/base/trace_event/memory_dump_manager.cc
index c3e2a4249205b18dac671ad406727baf7af984af..a43ab66fceb572f3ae96855323674a79a0ac2fca 100644
--- a/base/trace_event/memory_dump_manager.cc
+++ b/base/trace_event/memory_dump_manager.cc
@@ -103,6 +103,7 @@ void FillOsDumpFromProcessMemoryDump(
if (pmd->has_process_totals()) {
const ProcessMemoryTotals* totals = pmd->process_totals();
osDump->resident_set_kb = totals->resident_set_bytes() / 1024;
+ osDump->platform_private_footprint = totals->GetPlatformPrivateFootprint();
}
}
« no previous file with comments | « no previous file | base/trace_event/memory_dump_request_args.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698