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
3 // found in the LICENSE file.
5 #ifndef CCRenderingStats_h
6 #define CCRenderingStats_h
10 struct CCRenderingStats
{
11 // FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.com/138641.
12 int numAnimationFrames
;
13 int numFramesSentToScreen
;
14 int droppedFrameCount
;
15 double totalPaintTimeInSeconds
;
16 double totalRasterizeTimeInSeconds
;
19 : numAnimationFrames(0)
20 , numFramesSentToScreen(0)
21 , droppedFrameCount(0)
22 , totalPaintTimeInSeconds(0)
23 , totalRasterizeTimeInSeconds(0)