summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjbroman <jbroman@chromium.org>2015-04-15 17:38:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-16 00:39:07 +0000
commit187bc57e8b032fea86a401a7fd7c19378f79da5b (patch)
tree8ee8cf5828041bf10e935d2531b17c81febb4f2f /tools
parentdc18c01f1c98bc24fd88e19ff331c9dd573fd12c (diff)
downloadchromium_src-187bc57e8b032fea86a401a7fd7c19378f79da5b.zip
chromium_src-187bc57e8b032fea86a401a7fd7c19378f79da5b.tar.gz
chromium_src-187bc57e8b032fea86a401a7fd7c19378f79da5b.tar.bz2
cc: Add UMA stats for record and raster time.
These should provide a basic smoke test for real-world regressions from Slimming Paint phase 1. BUG=471873 Review URL: https://codereview.chromium.org/1075523002 Cr-Commit-Position: refs/heads/master@{#325360}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 6b3ee9f..6b4ce5b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3316,6 +3316,25 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram
+ name="Compositing.DisplayListRecordingSource.UpdateInvalidatedAreaPerMs"
+ units="pixels/ms">
+ <owner>paint-dev@chromium.org</owner>
+ <summary>
+ Area of invalidated content, in pixels, divided by update (i.e. record), in
+ milliseconds. Recorded when display list recording source is updated.
+ </summary>
+</histogram>
+
+<histogram name="Compositing.DisplayListRecordingSource.UpdateUs"
+ units="microseconds">
+ <owner>paint-dev@chromium.org</owner>
+ <summary>
+ Time spent updating (i.e. recording) a display list, in microseconds.
+ Recorded when display list is updated.
+ </summary>
+</histogram>
+
<histogram name="Compositing.NumActiveLayers">
<owner>dneto@chromium.org</owner>
<summary>
@@ -3324,6 +3343,39 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Compositing.PicturePile.UpdateInvalidatedAreaPerMs"
+ units="pixels/ms">
+ <owner>paint-dev@chromium.org</owner>
+ <summary>
+ Area of invalidated content, in pixels, divided by update (i.e. record), in
+ milliseconds. Recorded when picture pile is updated.
+ </summary>
+</histogram>
+
+<histogram name="Compositing.PicturePile.UpdateUs" units="microseconds">
+ <owner>paint-dev@chromium.org</owner>
+ <summary>
+ Time spent updating (i.e. recording) a picture pile, in microseconds.
+ Recorded when picture pile is updated.
+ </summary>
+</histogram>
+
+<histogram name="Compositing.RasterTask.RasterPixelsPerMs" units="pixels/ms">
+ <owner>paint-dev@chromium.org</owner>
+ <summary>
+ Rasterized area, in pixels, divided by rasterization time, in milliseconds,
+ of a compositor rasterization task. Recorded after the task finishes.
+ </summary>
+</histogram>
+
+<histogram name="Compositing.RasterTask.RasterUs" units="microseconds">
+ <owner>paint-dev@chromium.org</owner>
+ <summary>
+ Time spent completing a compositor rasterization task, in microseconds.
+ Recorded after the task finishes.
+ </summary>
+</histogram>
+
<histogram name="Compositing.RenderPass.AppendQuadData.NumIncompleteTiles">
<owner>weiliangc@chromium.org.</owner>
<summary>