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

Unified Diff: cc/rendering_stats.h

Issue 11198005: NOT READY FOR REVIEW - switch to a subscriber model for rendering stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing file. Created 8 years, 1 month 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/proxy.h ('k') | cc/rendering_stats.cc » ('j') | no next file with comments »
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..66be8965ea21bbe26eaa21880997ab49925956a3 100644
--- a/cc/rendering_stats.h
+++ b/cc/rendering_stats.h
@@ -12,6 +12,8 @@ struct RenderingStats {
int numAnimationFrames;
int numFramesSentToScreen;
int droppedFrameCount;
+ double frameRateAverage;
+ double frameRateStandardDeviation;
double totalPaintTimeInSeconds;
double totalRasterizeTimeInSeconds;
double totalCommitTimeInSeconds;
@@ -19,20 +21,9 @@ struct RenderingStats {
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();
};
-}
+} // namespace cc
#endif
« no previous file with comments | « cc/proxy.h ('k') | cc/rendering_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698