OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 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. | |
4 | |
5 #ifndef CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_ | |
6 #define CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 | |
10 namespace content { | |
11 | |
12 struct CONTENT_EXPORT GpuRenderingStats { | |
13 GpuRenderingStats() | |
14 : globalTextureUploadCount(0), | |
15 globalTotalTextureUploadTimeInSeconds(0.f), | |
16 textureUploadCount(0), | |
17 totalTextureUploadTimeInSeconds(0.f) {} | |
18 | |
19 int globalTextureUploadCount; | |
apatrick_chromium
2012/08/28 20:07:06
Google style is global_texture_upload_count.
| |
20 float globalTotalTextureUploadTimeInSeconds; | |
nduca
2012/08/28 19:45:10
Can we use base::TimeTicks instead and convert to
| |
21 int textureUploadCount; | |
22 float totalTextureUploadTimeInSeconds; | |
23 }; | |
24 | |
25 } // namespace content | |
26 | |
27 #endif // CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_ | |
OLD | NEW |