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

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: fix tests 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index c18e05b42ff7367b1216def104fe20c8cee9add8..b6b6eeae7e01e75a9caa2b7d94d25868b7677a49 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3526,6 +3526,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>
@@ -56912,6 +56920,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"/>
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698