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

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: 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 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6
7 #include "cc/rendering_stats.h"
8
9 namespace cc {
10
11 RenderingStats::RenderingStats()
12 : numAnimationFrames(0)
13 , numFramesSentToScreen(0)
14 , droppedFrameCount(0)
15 , totalPaintTimeInSeconds(0)
16 , totalRasterizeTimeInSeconds(0)
17 , totalCommitTimeInSeconds(0)
18 , totalCommitCount(0)
19 , totalPixelsPainted(0)
20 , totalPixelsRasterized(0)
21 , numImplThreadScrolls(0)
22 , numMainThreadScrolls(0)
Ian Vollick 2012/10/30 19:58:37 This is correct WebKit style, but I'd go for chrom
hartmanng 2012/10/30 20:10:51 Done.
23 {
24 }
Ian Vollick 2012/10/30 19:58:37 I think chromium style would have the curlies on t
danakj 2012/10/30 20:01:25 The leading curly is on the last line of the initi
hartmanng 2012/10/30 20:10:51 Done.
hartmanng 2012/10/30 20:10:51 Done.
25
26 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698