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

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: mpearson's comments 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
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | tools/metrics/rappor/rappor.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 094e4230a822e735cd750ef48e3112fbc5154914..e1404f7293424839083dd268d0bdd25beba517a2 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -38961,6 +38961,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 memory usage range reported for the browser process when the chromeos
Mark P 2015/11/16 23:42:18 consider saying "system memory" here to be paralle
afakhry 2015/11/17 23:01:55 Done.
+ 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>
@@ -72352,6 +72396,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="CPU usage that is in the range between 0% and 10%"/>
Mark P 2015/11/16 23:42:18 These labels will be long icky to read in the dash
afakhry 2015/11/17 23:01:55 Done.
+ <int value="1" label="CPU usage that is in the range between 10% and 30%"/>
+ <int value="2" label="CPU usage that is in the range between 30% and 60%"/>
+ <int value="3" label="CPU usage that is above than 60%"/>
+</enum>
+
+<enum name="ResourceReporterMemoryUsage" type="int">
+ <int value="0" label="RAM usage in the range between 0 and 200 MB"/>
+ <int value="1" label="RAM usage in the range between 200 and 400 MB"/>
+ <int value="2" label="RAM usage in the range between 400 and 600 MB"/>
+ <int value="3" label="RAM usage in the range between 600 and 800 MB"/>
+ <int value="4" label="RAM usage in the range between 800 MB and 1 GB"/>
+ <int value="5" label="RAM usage that is above 1 GB."/>
+</enum>
+
<enum name="ResourceType" type="int">
<int value="0" label="Main resource"/>
<int value="1" label="Image"/>
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | tools/metrics/rappor/rappor.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698