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

Side by Side Diff: cc/rendering_stats.h

Issue 12209022: cc: add rasterize time to continuous painting graph data in impl-side-painting (Closed) Base URL: http://git.chromium.org/chromium/src.git@raster
Patch Set: Save paint and rasterize time in per frame struct Created 7 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_RENDERING_STATS_H_ 5 #ifndef CC_RENDERING_STATS_H_
6 #define CC_RENDERING_STATS_H_ 6 #define CC_RENDERING_STATS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "cc/cc_export.h" 10 #include "cc/cc_export.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 struct CC_EXPORT RenderingStats { 14 struct CC_EXPORT RenderingStats {
15 // FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.co m/138641. 15 // FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.co m/138641.
16 int64 numAnimationFrames; 16 int64 numAnimationFrames;
17 int64 numFramesSentToScreen; 17 int64 numFramesSentToScreen;
18 int64 droppedFrameCount; 18 int64 droppedFrameCount;
19 base::TimeDelta totalPaintTime; 19 base::TimeDelta totalPaintTime;
20 base::TimeDelta totalRasterizeTime; 20 base::TimeDelta totalRasterizeTime;
21 base::TimeDelta totalRasterizeTimeForNowBinsOnPendingTree;
21 base::TimeDelta totalCommitTime; 22 base::TimeDelta totalCommitTime;
22 int64 totalCommitCount; 23 int64 totalCommitCount;
23 int64 totalPixelsPainted; 24 int64 totalPixelsPainted;
24 int64 totalPixelsRasterized; 25 int64 totalPixelsRasterized;
25 int64 numImplThreadScrolls; 26 int64 numImplThreadScrolls;
26 int64 numMainThreadScrolls; 27 int64 numMainThreadScrolls;
27 int64 numLayersDrawn; 28 int64 numLayersDrawn;
28 int64 numMissingTiles; 29 int64 numMissingTiles;
29 int64 totalDeferredImageDecodeCount; 30 int64 totalDeferredImageDecodeCount;
30 int64 totalDeferredImageCacheHitCount; 31 int64 totalDeferredImageCacheHitCount;
(...skipping 21 matching lines...) Expand all
52 virtual ~Enumerator() { } 53 virtual ~Enumerator() { }
53 }; 54 };
54 55
55 // Outputs the fields in this structure to the provided enumerator. 56 // Outputs the fields in this structure to the provided enumerator.
56 void EnumerateFields(Enumerator* enumerator) const; 57 void EnumerateFields(Enumerator* enumerator) const;
57 }; 58 };
58 59
59 } // namespace cc 60 } // namespace cc
60 61
61 #endif // CC_RENDERING_STATS_H_ 62 #endif // CC_RENDERING_STATS_H_
OLDNEW
« cc/paint_time_counter.cc ('K') | « cc/paint_time_counter.cc ('k') | cc/rendering_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698