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

Unified Diff: cc/CCRenderingStats.h

Issue 10982078: Adding hooks for gathering total pixels painted and rasterized stats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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 | « cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp ('k') | cc/CanvasLayerTextureUpdater.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCRenderingStats.h
diff --git a/cc/CCRenderingStats.h b/cc/CCRenderingStats.h
index 0203df3872a0fce38692587bdb9cbfbed120c9e0..8aa6de5c660fe63b332d587feffd28338efabf0a 100644
--- a/cc/CCRenderingStats.h
+++ b/cc/CCRenderingStats.h
@@ -16,6 +16,8 @@ struct CCRenderingStats {
double totalRasterizeTimeInSeconds;
double totalCommitTimeInSeconds;
size_t totalCommitCount;
+ size_t totalPixelsPainted;
brianderson 2012/10/05 23:51:55 Can you change these to int64_t, so we won't need
hartmanng 2012/10/24 21:07:00 Done.
+ size_t totalPixelsRasterized;
CCRenderingStats()
: numAnimationFrames(0)
@@ -25,6 +27,8 @@ struct CCRenderingStats {
, totalRasterizeTimeInSeconds(0)
, totalCommitTimeInSeconds(0)
, totalCommitCount(0)
+ , totalPixelsPainted(0)
+ , totalPixelsRasterized(0)
{
}
};
« no previous file with comments | « cc/BitmapSkPictureCanvasLayerTextureUpdater.cpp ('k') | cc/CanvasLayerTextureUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698