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=">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=">1GB."/> |
+</enum> |
+ |
<enum name="ResourceType" type="int"> |
<int value="0" label="Main resource"/> |
<int value="1" label="Image"/> |