| Index: cc/rendering_stats.h
|
| diff --git a/cc/rendering_stats.h b/cc/rendering_stats.h
|
| index 96634986d70fe09ce3977bba411ba89f88fa565f..495d325ff9e57f0f8f3dc7a1d75100f4df32b1af 100644
|
| --- a/cc/rendering_stats.h
|
| +++ b/cc/rendering_stats.h
|
| @@ -5,34 +5,27 @@
|
| #ifndef CCRenderingStats_h
|
| #define CCRenderingStats_h
|
|
|
| +#include "base/basictypes.h"
|
| +
|
| namespace cc {
|
|
|
| struct RenderingStats {
|
| // FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.com/138641.
|
| - int numAnimationFrames;
|
| - int numFramesSentToScreen;
|
| - int droppedFrameCount;
|
| + int64 numAnimationFrames;
|
| + int64 numFramesSentToScreen;
|
| + int64 droppedFrameCount;
|
| double totalPaintTimeInSeconds;
|
| double totalRasterizeTimeInSeconds;
|
| double totalCommitTimeInSeconds;
|
| size_t totalCommitCount;
|
| - size_t numImplThreadScrolls;
|
| - size_t numMainThreadScrolls;
|
| + int64 totalPixelsPainted;
|
| + int64 totalPixelsRasterized;
|
| + int64 numImplThreadScrolls;
|
| + int64 numMainThreadScrolls;
|
|
|
| - RenderingStats()
|
| - : numAnimationFrames(0)
|
| - , numFramesSentToScreen(0)
|
| - , droppedFrameCount(0)
|
| - , totalPaintTimeInSeconds(0)
|
| - , totalRasterizeTimeInSeconds(0)
|
| - , totalCommitTimeInSeconds(0)
|
| - , totalCommitCount(0)
|
| - , numImplThreadScrolls(0)
|
| - , numMainThreadScrolls(0)
|
| - {
|
| - }
|
| + RenderingStats();
|
| };
|
|
|
| -}
|
| +} // namespace cc
|
|
|
| #endif
|
|
|