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

Unified Diff: chrome/browser/metrics/metrics_memory_details.cc

Issue 2694363007: Add memory and CPU histogram for OOPIF
Patch Set: Created 3 years, 10 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
Index: chrome/browser/metrics/metrics_memory_details.cc
diff --git a/chrome/browser/metrics/metrics_memory_details.cc b/chrome/browser/metrics/metrics_memory_details.cc
index 807bc0921b82f41e578cee406727cbf81181799d..8db25c166e21358076cb26c219401a02a88bf0e5 100644
--- a/chrome/browser/metrics/metrics_memory_details.cc
+++ b/chrome/browser/metrics/metrics_memory_details.cc
@@ -102,6 +102,8 @@ void MetricsMemoryDetails::UpdateHistograms() {
UMA_HISTOGRAM_MEMORY_LARGE_MB("Memory.RendererAll", sample / 1024);
UMA_HISTOGRAM_MEMORY_LARGE_MB("Memory.RendererAll.Committed",
committed / 1024);
+ if (browser.processes[index].contains_oopif)
+ UMA_HISTOGRAM_MEMORY_KB("SiteIsolation.Oopif.Memory", sample);
ProcessMemoryInformation::RendererProcessType renderer_type =
browser.processes[index].renderer_type;
switch (renderer_type) {

Powered by Google App Engine
This is Rietveld 408576698