| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 #include "base/trace_event/trace_event_argument.h" | 14 #include "base/trace_event/trace_event_argument.h" |
| 14 #include "base/values.h" | 15 #include "base/values.h" |
| 15 #include "cc/base/cc_export.h" | 16 #include "cc/base/cc_export.h" |
| 16 #include "cc/debug/traced_value.h" | 17 #include "cc/debug/traced_value.h" |
| 17 | 18 |
| 18 namespace cc { | 19 namespace cc { |
| 19 | 20 |
| 20 struct CC_EXPORT RenderingStats { | 21 struct CC_EXPORT RenderingStats { |
| 21 // Stores a sequence of TimeDelta objects. | 22 // Stores a sequence of TimeDelta objects. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 TimeDeltaList commit_to_activate_duration_estimate; | 60 TimeDeltaList commit_to_activate_duration_estimate; |
| 60 | 61 |
| 61 scoped_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData() | 62 scoped_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData() |
| 62 const; | 63 const; |
| 63 void Add(const RenderingStats& other); | 64 void Add(const RenderingStats& other); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 } // namespace cc | 67 } // namespace cc |
| 67 | 68 |
| 68 #endif // CC_DEBUG_RENDERING_STATS_H_ | 69 #endif // CC_DEBUG_RENDERING_STATS_H_ |
| OLD | NEW |