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

Unified Diff: tools/metrics/rappor/rappor.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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/rappor/rappor.xml
diff --git a/tools/metrics/rappor/rappor.xml b/tools/metrics/rappor/rappor.xml
index 19e18be557749cd8fa47c8707e6d7ad9c2e17930..5eaf6abcb52f4db45089b3fc26788a08b5f1aaa0 100644
--- a/tools/metrics/rappor/rappor.xml
+++ b/tools/metrics/rappor/rappor.xml
@@ -931,6 +931,80 @@ components/rappor/rappor_service.cc.
</summary>
</rappor-metric>
+<rappor-metric name="ResourceReporter.Cpu" type="UMA_RAPPOR_TYPE">
+ <owner>afakhry@chromium.org</owner>
+ <summary>
+ A Chrome task, its process priority, and its CPU usage range.
+ </summary>
+ <string-field name="task">
+ <summary>
+ The canonicalized name of a Chrome task. In most cases this is the origin
+ URL of the task's WebContents.
+ </summary>
+ </string-field>
+ <flags-field name="priority">
+ <flag>Bit 0: FOREGROUND</flag>
+ <flag>Bit 1: BACKGROUND</flag>
+ <summary>
+ Bitfield for the task's process priority (whether it's foregrounded or
+ backgrounded).
+ </summary>
+ </flags-field>
+ <flags-field name="num_cores_range">
+ <flag>Bit 0: RANGE_CORES_NA</flag>
+ <flag>Bit 1: RANGE_CORES_1_CORE</flag>
+ <flag>Bit 2: RANGE_CORES_2_CORES</flag>
+ <flag>Bit 3: RANGE_CORES_3_TO_4_CORES</flag>
+ <flag>Bit 4: RANGE_CORES_5_TO_8_CORES</flag>
+ <flag>Bit 5: RANGE_CORES_9_TO_16_CORES</flag>
+ <flag>Bit 6: RANGE_CORES_ABOVE_16_CORES</flag>
+ <summary>
+ Bitfield for the current system's number or cores range.
+ </summary>
+ </flags-field>
+ <flags-field name="usage_range">
+ <flag>Bit 0: RANGE_0_TO_10_PERCENT</flag>
+ <flag>Bit 1: RANGE_10_TO_30_PERCENT</flag>
+ <flag>Bit 2: RANGE_30_TO_60_PERCENT</flag>
+ <flag>Bit 3: RANGE_ABOVE_60_PERCENT</flag>
+ <summary>
+ Bitfield for the tasks CPU usage range.
+ </summary>
+ </flags-field>
+</rappor-metric>
+
+<rappor-metric name="ResourceReporter.Memory" type="UMA_RAPPOR_TYPE">
+ <owner>afakhry@chromium.org</owner>
+ <summary>
+ A Chrome task, and its memory usage range.
+ </summary>
+ <string-field name="task">
+ <summary>
+ The canonicalized name of a Chrome task. In most cases this is the origin
+ URL of the task's WebContents.
+ </summary>
+ </string-field>
+ <flags-field name="priority">
+ <flag>Bit 0: FOREGROUND</flag>
+ <flag>Bit 1: BACKGROUND</flag>
+ <summary>
+ Bitfield for the task's process priority (whether it's foregrounded or
+ backgrounded).
+ </summary>
+ </flags-field>
+ <flags-field name="usage_range">
+ <flag>Bit 0: RANGE_0_TO_200_MB</flag>
+ <flag>Bit 1: RANGE_200_TO_400_MB</flag>
+ <flag>Bit 2: RANGE_400_TO_600_MB</flag>
+ <flag>Bit 3: RANGE_600_TO_800_MB</flag>
+ <flag>Bit 4: RANGE_800_TO_1_GB</flag>
+ <flag>Bit 5: RANGE_ABOVE_1_GB</flag>
+ <summary>
+ Bitfield for the tasks memory usage range.
+ </summary>
+ </flags-field>
+</rappor-metric>
+
<rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
<owner>holte@chromium.org</owner>
<summary>
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698