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"/> |