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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1507863005: [2D Canvas] Send GPU resources into hibernation when page is not visible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests + histogram Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 389e013988dc30e7616528d62959cc9b5d4902f1..b4765eb82e986c206b6c1e50152a06bcba49309f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3502,6 +3502,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Canvas.HibernationEvents" enum="CanvasHibernationEvent">
+ <owner>junov@chromium.org</owner>
+ <summary>
+ Records the occurrence of events related to 2D canvas GPU resource
+ hibernation.
+ </summary>
+</histogram>
+
<histogram name="CAPSUpdater.Step" enum="CAPSUpdaterStep">
<owner>cpu@chromium.org</owner>
<summary>
@@ -56739,6 +56747,21 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="7" label="DisplayList2DCanvasFallbackToRaster"/>
</enum>
+<enum name="CanvasHibernationEvent" type="int">
+ <int value="0" label="HibernationScheduled"/>
+ <int value="1"
+ label="HibernationAbortedDueToDestructionWhileHibernatePending"/>
+ <int value="2" label="HibernationAbortedDueToPendingDestruction"/>
+ <int value="3" label="HibernationAbortedDueToVisibilityChange"/>
+ <int value="4" label="HibernationAbortedDueGpuContextLoss"/>
+ <int value="5" label="HibernationAbortedDueToSwitchToUnacceleratedRendering"/>
+ <int value="6" label="HibernationAbortedDueToAllocationFailure"/>
+ <int value="7" label="HibernationEndedNormally"/>
+ <int value="8" label="HibernationEndedWithSwitchToBackgroundRendering"/>
+ <int value="9" label="HibernationEndedWithFallbackToSW"/>
+ <int value="10" label="HibernationEndedWithTeardown"/>
+</enum>
+
<enum name="CAPSUpdaterStep" type="int">
<int value="0" label="CAPS component ready"/>
<int value="1" label="CAPS component missing"/>

Powered by Google App Engine
This is Rietveld 408576698