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

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

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: Turn off ResourceReporter on task_management CrOs browser_tests. 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 | « chrome/chrome_tests_unit.gypi ('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 70c5d24dc4cb0ac862f28bd5e5fc9befd7825d35..acaa39da4d20a3005669d2d4e44fd3281e52a21b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -39283,6 +39283,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>
@@ -73538,6 +73582,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"/>
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/rappor/rappor.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698