Chromium Code Reviews| Index: cc/CCRenderingStats.h |
| diff --git a/cc/CCRenderingStats.h b/cc/CCRenderingStats.h |
| index fb178a89722fe38fb7fd69a483c6023b305e44c1..ababe95ccca4b8c1049e5d70ab0eac1252dedac7 100644 |
| --- a/cc/CCRenderingStats.h |
| +++ b/cc/CCRenderingStats.h |
| @@ -8,27 +8,32 @@ |
| namespace cc { |
| struct CCRenderingStats { |
| - // FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.com/138641. |
| - int numAnimationFrames; |
| - int numFramesSentToScreen; |
| - int droppedFrameCount; |
| + uint64_t compositorSyncCount; |
|
dtu
2012/10/04 21:41:09
nit: Sorry, int64_t is preferred to uint64_t in th
brianderson
2012/10/05 00:17:32
Ok, will change to int64_t.
|
| + uint64_t compositorSyncActiveCount; |
| + uint64_t compositorFrameCount; |
| + uint64_t mainAnimationFrameCount; |
| + uint64_t implAnimationFrameCount; |
| + uint64_t droppedFrameCount; |
| double totalPaintTimeInSeconds; |
| double totalRasterizeTimeInSeconds; |
| double totalCommitTimeInSeconds; |
| - size_t totalCommitCount; |
| - size_t numImplThreadScrolls; |
| - size_t numMainThreadScrolls; |
| + uint64_t totalCommitCount; |
| + uint64_t implThreadScrollCount; |
| + uint64_t mainThreadScrollCount; |
| CCRenderingStats() |
| - : numAnimationFrames(0) |
| - , numFramesSentToScreen(0) |
| + : compositorSyncCount(0) |
| + , compositorSyncActiveCount(0) |
| + , compositorFrameCount(0) |
| + , mainAnimationFrameCount(0) |
| + , implAnimationFrameCount(0) |
| , droppedFrameCount(0) |
| , totalPaintTimeInSeconds(0) |
| , totalRasterizeTimeInSeconds(0) |
| , totalCommitTimeInSeconds(0) |
| , totalCommitCount(0) |
| - , numImplThreadScrolls(0) |
| - , numMainThreadScrolls(0) |
| + , implThreadScrollCount(0) |
| + , mainThreadScrollCount(0) |
| { |
| } |
| }; |