Chromium Code Reviews| Index: cc/CCRenderingStats.h |
| diff --git a/cc/CCRenderingStats.h b/cc/CCRenderingStats.h |
| index fb178a89722fe38fb7fd69a483c6023b305e44c1..977027299943f06527bc4f75e55003f90930907d 100644 |
| --- a/cc/CCRenderingStats.h |
| +++ b/cc/CCRenderingStats.h |
| @@ -9,9 +9,12 @@ namespace cc { |
| struct CCRenderingStats { |
| // FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.com/138641. |
| - int numAnimationFrames; |
| - int numFramesSentToScreen; |
| - int droppedFrameCount; |
| + size_t numCSyncs; |
| + size_t numActiveCSyncs; |
| + size_t numFramesSentToScreen; |
| + size_t numAnimationFrames; |
| + size_t numAnimationFramesImpl; |
|
dtu
2012/10/04 01:51:36
Can we use thingCount instead of numThings? Also,
brianderson
2012/10/04 20:11:59
Sure, will make it consistent.
|
| + size_t droppedFrameCount; |
| double totalPaintTimeInSeconds; |
| double totalRasterizeTimeInSeconds; |
| double totalCommitTimeInSeconds; |
| @@ -20,8 +23,11 @@ struct CCRenderingStats { |
| size_t numMainThreadScrolls; |
| CCRenderingStats() |
| - : numAnimationFrames(0) |
| + : numCSyncs(0) |
| + , numActiveCSyncs(0) |
| , numFramesSentToScreen(0) |
| + , numAnimationFrames(0) |
| + , numAnimationFramesImpl(0) |
| , droppedFrameCount(0) |
| , totalPaintTimeInSeconds(0) |
| , totalRasterizeTimeInSeconds(0) |