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

Unified Diff: chrome/browser/memory_details.h

Issue 2875823004: Add experimental private memory footprint metrics. (Closed)
Patch Set: compile error. Created 3 years, 7 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 | chrome/browser/memory_details.cc » ('j') | chrome/browser/memory_details_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details.h
diff --git a/chrome/browser/memory_details.h b/chrome/browser/memory_details.h
index 5f6b2592f9e441c0c60f7ae34af9d68cf73ea07e..b0f84af9427db03bf5aee1b6a9edd7e26c50c589 100644
--- a/chrome/browser/memory_details.h
+++ b/chrome/browser/memory_details.h
@@ -72,6 +72,9 @@ struct ProcessMemoryInformation {
// The physical footprint is a macOS concept that tracks anonymous,
// non-discardable memory.
size_t phys_footprint;
+ // TODO(erikchen): Remove this temporary estimate for private memory once the
+ // memory infra service emits the same metric. https://crbug.com/720541.
+ size_t private_memory_footprint;
};
typedef std::vector<ProcessMemoryInformation> ProcessMemoryInformationList;
« no previous file with comments | « no previous file | chrome/browser/memory_details.cc » ('j') | chrome/browser/memory_details_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698