summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorericrk <ericrk@chromium.org>2016-02-05 14:53:25 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-05 22:54:30 +0000
commit4e7c2b3384ce41324ec60f84cd36d063b6db6d76 (patch)
tree8c9c1ab1630073e228508b2ebb9e36ddb90c8568 /tools
parenta66c86c302e0d0442dbf7ebbb48f79673005fb90 (diff)
downloadchromium_src-4e7c2b3384ce41324ec60f84cd36d063b6db6d76.zip
chromium_src-4e7c2b3384ce41324ec60f84cd36d063b6db6d76.tar.gz
chromium_src-4e7c2b3384ce41324ec60f84cd36d063b6db6d76.tar.bz2
Add Skia support for UMA stats
This is the counterpart to crrev.com/1652053004 This adds a simple wrapper around the UMA_HISTOGRAM_* macros for inclusion in SkUserConfig. Along with the corresponding Skia change, this allows Skia to log stats which will be picked up by the UMA system. BUG= Review URL: https://codereview.chromium.org/1659303002 Cr-Commit-Position: refs/heads/master@{#373933}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 620fecd..e52ed13 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -47209,6 +47209,21 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Skia.DrawTiled" enum="BooleanTiled">
+ <owner>ericrk@chromium.org</owner>
+ <summary>
+ Whether a call to drawBitmap(Rect) or drawImage(Rect) used the tiled or
+ non-tiled rasterization path.
+ </summary>
+</histogram>
+
+<histogram name="Skia.LockTexturePath" enum="SkiaLockTexturePath">
+ <owner>ericrk@chromium.org</owner>
+ <summary>
+ The path taken by Skia when it attempts to lock a texture for use.
+ </summary>
+</histogram>
+
<histogram name="SoftwareReporter.Cleaner.HasCompleted" enum="SRTCompleted">
<owner>mad@chromium.org</owner>
<summary>
@@ -58707,6 +58722,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="1" label="Terminated"/>
</enum>
+<enum name="BooleanTiled" type="int">
+ <int value="0" label="Not tiled"/>
+ <int value="1" label="Tiled"/>
+</enum>
+
<enum name="BooleanTimedOut" type="int">
<int value="0" label="Did not time out"/>
<int value="1" label="Timed out"/>
@@ -78399,6 +78419,15 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="4" label="Others"/>
</enum>
+<enum name="SkiaLockTexturePath" type="int">
+ <int value="0" label="Failure"/>
+ <int value="1" label="Pre-Existing"/>
+ <int value="2" label="Native"/>
+ <int value="3" label="Compressed"/>
+ <int value="4" label="YUV"/>
+ <int value="5" label="RGBA"/>
+</enum>
+
<enum name="SnippetsInteractions" type="int">
<int value="0" label="Snippets were shown to the user"/>
<int value="1" label="User scrolled through the snippets"/>