summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhablich <hablich@chromium.org>2015-11-07 10:37:28 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-07 18:38:25 +0000
commit4598ddcef9994c9c400624bba1718a23a14cd775 (patch)
tree1c51d75127be8a8a33a84e069079f58f2ce96e0f
parent3c880f91004cc9910b2708c894802d68b9f19090 (diff)
downloadchromium_src-4598ddcef9994c9c400624bba1718a23a14cd775.zip
chromium_src-4598ddcef9994c9c400624bba1718a23a14cd775.tar.gz
chromium_src-4598ddcef9994c9c400624bba1718a23a14cd775.tar.bz2
Enable reporting per specific pages for new memory histograms
V8.MemoryHeapUsed and V8.MemoryHeapCommitted didn't support reporting per specific pages like Gmail or Inbox. With that CL it does. R=jochen@chromium.org,ulan@chromium.org,asvitkine@chromium.org Review URL: https://codereview.chromium.org/1429303003 Cr-Commit-Position: refs/heads/master@{#358535}
-rw-r--r--content/renderer/render_thread_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 48ffe17..804e018 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -455,6 +455,8 @@ RenderThreadImpl::HistogramCustomizer::HistogramCustomizer() {
custom_histograms_.insert("V8.MemoryExternalFragmentationTotal");
custom_histograms_.insert("V8.MemoryHeapSampleTotalCommitted");
custom_histograms_.insert("V8.MemoryHeapSampleTotalUsed");
+ custom_histograms_.insert("V8.MemoryHeapUsed");
+ custom_histograms_.insert("V8.MemoryHeapCommitted");
}
RenderThreadImpl::HistogramCustomizer::~HistogramCustomizer() {}