blob: a08b832926374a2e7c6e1bc1fe704f43a7e5e4b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_RENDERING_STATS_H_
#define CC_RENDERING_STATS_H_
#include "base/basictypes.h"
#include "cc/cc_export.h"
namespace cc {
struct CC_EXPORT RenderingStats {
// FIXME: Rename these to animationFrameCount and screenFrameCount, crbug.com/138641.
int64 numAnimationFrames;
int64 numFramesSentToScreen;
int64 droppedFrameCount;
double totalPaintTimeInSeconds;
double totalRasterizeTimeInSeconds;
double totalCommitTimeInSeconds;
size_t totalCommitCount;
int64 totalPixelsPainted;
int64 totalPixelsRasterized;
int64 numImplThreadScrolls;
int64 numMainThreadScrolls;
RenderingStats();
};
} // namespace cc
#endif // CC_RENDERING_STATS_H_
|