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

Side by Side Diff: cc/rendering_stats.cc

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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #include "config.h"
jamesr 2012/10/29 23:38:49 you need a copyright header
hartmanng 2012/10/30 20:10:51 Done.
2 #include "cc/rendering_stats.h"
jamesr 2012/10/29 23:38:49 newline before this #include, please
hartmanng 2012/10/30 20:10:51 Done.
3
4 namespace cc {
5
6 RenderingStats::RenderingStats()
7 : numAnimationFrames(0)
8 , numFramesSentToScreen(0)
jamesr 2012/10/29 23:38:49 bad indentation - if you want WebKit style, line t
hartmanng 2012/10/30 20:10:51 Done.
9 , droppedFrameCount(0)
10 , totalPaintTimeInSeconds(0)
11 , totalRasterizeTimeInSeconds(0)
12 , totalCommitTimeInSeconds(0)
13 , totalCommitCount(0)
14 , totalPixelsPainted(0)
15 , totalPixelsRasterized(0)
16 , numImplThreadScrolls(0)
17 , numMainThreadScrolls(0)
18 {
jamesr 2012/10/29 23:38:49 bad indentation
hartmanng 2012/10/30 20:10:51 Done.
19 }
20 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698