Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Side by Side Diff: cc/debug/rendering_stats.h

Issue 263653002: Move traced_value.* from cc/debug/ to base/debug/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added BASE_EXPORT Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/debug/frame_viewer_instrumentation.h ('k') | cc/debug/rendering_stats.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_DEBUG_RENDERING_STATS_H_ 5 #ifndef CC_DEBUG_RENDERING_STATS_H_
6 #define CC_DEBUG_RENDERING_STATS_H_ 6 #define CC_DEBUG_RENDERING_STATS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/debug/traced_value.h"
9 #include "base/time/time.h" 10 #include "base/time/time.h"
10 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
11 #include "cc/debug/traced_value.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 struct CC_EXPORT MainThreadRenderingStats { 15 struct CC_EXPORT MainThreadRenderingStats {
16 // Note: when adding new members, please remember to update EnumerateFields 16 // Note: when adding new members, please remember to update EnumerateFields
17 // and Add in rendering_stats.cc. 17 // and Add in rendering_stats.cc.
18 18
19 int64 frame_count; 19 int64 frame_count;
20 base::TimeDelta paint_time; 20 base::TimeDelta paint_time;
21 int64 painted_pixel_count; 21 int64 painted_pixel_count;
(...skipping 25 matching lines...) Expand all
47 MainThreadRenderingStats main_stats; 47 MainThreadRenderingStats main_stats;
48 ImplThreadRenderingStats impl_stats; 48 ImplThreadRenderingStats impl_stats;
49 49
50 // Add fields of |other| to the fields in this structure. 50 // Add fields of |other| to the fields in this structure.
51 void Add(const RenderingStats& other); 51 void Add(const RenderingStats& other);
52 }; 52 };
53 53
54 } // namespace cc 54 } // namespace cc
55 55
56 #endif // CC_DEBUG_RENDERING_STATS_H_ 56 #endif // CC_DEBUG_RENDERING_STATS_H_
OLDNEW
« no previous file with comments | « cc/debug/frame_viewer_instrumentation.h ('k') | cc/debug/rendering_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698