| Index: cc/rendering_stats.h
|
| diff --git a/cc/rendering_stats.h b/cc/rendering_stats.h
|
| index ab4d9d0c0ee7c226caba5d737d9bf859bfac231a..a08b832926374a2e7c6e1bc1fe704f43a7e5e4b6 100644
|
| --- a/cc/rendering_stats.h
|
| +++ b/cc/rendering_stats.h
|
| @@ -5,34 +5,28 @@
|
| #ifndef CC_RENDERING_STATS_H_
|
| #define CC_RENDERING_STATS_H_
|
|
|
| +#include "base/basictypes.h"
|
| +#include "cc/cc_export.h"
|
| +
|
| namespace cc {
|
|
|
| -struct RenderingStats {
|
| +struct CC_EXPORT 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 // CC_RENDERING_STATS_H_
|
|
|