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

Unified Diff: cc/rendering_stats.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: Rebase 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/cc.gyp ('k') | cc/rendering_stats.cc » ('j') | cc/rendering_stats.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/rendering_stats.h
diff --git a/cc/rendering_stats.h b/cc/rendering_stats.h
index 96634986d70fe09ce3977bba411ba89f88fa565f..c9a689809b87d8eaafbb0907773f1b47b9b16545 100644
--- a/cc/rendering_stats.h
+++ b/cc/rendering_stats.h
@@ -16,21 +16,12 @@ struct RenderingStats {
double totalRasterizeTimeInSeconds;
double totalCommitTimeInSeconds;
size_t totalCommitCount;
+ int64_t totalPixelsPainted;
jamesr 2012/10/29 23:38:49 why is this int64_t instead of size_t? Either use
hartmanng 2012/10/30 20:10:51 brianderson@ requested that I switch it to 64-bit
+ int64_t totalPixelsRasterized;
size_t numImplThreadScrolls;
size_t numMainThreadScrolls;
- RenderingStats()
- : numAnimationFrames(0)
- , numFramesSentToScreen(0)
- , droppedFrameCount(0)
- , totalPaintTimeInSeconds(0)
- , totalRasterizeTimeInSeconds(0)
- , totalCommitTimeInSeconds(0)
- , totalCommitCount(0)
- , numImplThreadScrolls(0)
- , numMainThreadScrolls(0)
- {
- }
+ RenderingStats();
};
}
« no previous file with comments | « cc/cc.gyp ('k') | cc/rendering_stats.cc » ('j') | cc/rendering_stats.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698