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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 1374283003: Reporting top cpu and memory consumers via rappor on chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed arbitrary given weights Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index b722ba3c6f3a93d8ff352493821126a948242926..d93312b2ed0c8577fd3740f07fd6f9a4d3006e90 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -39112,6 +39112,50 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ResourceReporter.BrowserProcess.CpuUsage"
+ enum="ResourceReporterCpuUsage">
+ <owner>afakhry@chromium.org</owner>
+ <summary>
+ The cpu usage range reported for the browser process when the chromeos
+ device memory pressure (which is the percentage of total memory used by the
+ system) is moderate or critical. This is emitted only when memory pressure
+ changes from a low pressure to a higher pressure.
+ </summary>
+</histogram>
+
+<histogram name="ResourceReporter.BrowserProcess.MemoryUsage"
+ enum="ResourceReporterMemoryUsage">
+ <owner>afakhry@chromium.org</owner>
+ <summary>
+ The system memory usage range reported for the browser process when the
+ chromeos device memory pressure (which is the percentage of total memory
+ used by the system) is moderate or critical. This is emitted only when
+ memory pressure changes from a low pressure to a higher pressure.
+ </summary>
+</histogram>
+
+<histogram name="ResourceReporter.GpuProcess.CpuUsage"
+ enum="ResourceReporterCpuUsage">
+ <owner>afakhry@chromium.org</owner>
+ <summary>
+ The cpu usage range reported for the GPU process when the chromeos device
+ memory pressure (which is the percentage of total memory used by the system)
+ is moderate or critical. This is emitted only when memory pressure changes
+ from a low pressure to a higher pressure.
+ </summary>
+</histogram>
+
+<histogram name="ResourceReporter.GpuProcess.MemoryUsage"
+ enum="ResourceReporterMemoryUsage">
+ <owner>afakhry@chromium.org</owner>
+ <summary>
+ The system's RAM memory usage range reported for the GPU process when the
+ chromeos device memory pressure (which is the percentage of total memory
+ used by the system) is moderate or critical. This is emitted only when
+ memory pressure changes from a low pressure to a higher pressure.
+ </summary>
+</histogram>
+
<histogram name="ResourceScheduler.ClientLoadedTime.Active">
<owner>aiolos@chromium.org</owner>
<summary>
@@ -72548,6 +72592,22 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="64" label="RESOURCE_STATUS_HEADERS_MISSING"/>
</enum>
+<enum name="ResourceReporterCpuUsage" type="int">
+ <int value="0" label="0-10%"/>
+ <int value="1" label="10%-30%"/>
+ <int value="2" label="30%-60%"/>
+ <int value="3" label="&gt;60%"/>
+</enum>
+
+<enum name="ResourceReporterMemoryUsage" type="int">
+ <int value="0" label="0-200MB"/>
+ <int value="1" label="200MB-400MB"/>
+ <int value="2" label="400MB-600MB"/>
+ <int value="3" label="600MB-800MB"/>
+ <int value="4" label="800MB-1GB"/>
+ <int value="5" label="&gt;1GB."/>
+</enum>
+
<enum name="ResourceType" type="int">
<int value="0" label="Main resource"/>
<int value="1" label="Image"/>

Powered by Google App Engine
This is Rietveld 408576698