OLD | NEW |
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 <list> | 8 #include <list> |
| 9 #include <vector> |
9 | 10 |
10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
11 #include "base/debug/trace_event_argument.h" | 12 #include "base/debug/trace_event_argument.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "cc/base/cc_export.h" | 15 #include "cc/base/cc_export.h" |
15 #include "cc/debug/traced_value.h" | 16 #include "cc/debug/traced_value.h" |
16 | 17 |
17 namespace cc { | 18 namespace cc { |
18 | 19 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 TimeDeltaList commit_to_activate_duration; | 52 TimeDeltaList commit_to_activate_duration; |
52 TimeDeltaList commit_to_activate_duration_estimate; | 53 TimeDeltaList commit_to_activate_duration_estimate; |
53 | 54 |
54 scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData() const; | 55 scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData() const; |
55 void Add(const RenderingStats& other); | 56 void Add(const RenderingStats& other); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace cc | 59 } // namespace cc |
59 | 60 |
60 #endif // CC_DEBUG_RENDERING_STATS_H_ | 61 #endif // CC_DEBUG_RENDERING_STATS_H_ |
OLD | NEW |