OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BENCHMARK_INSTRUMENTATION_H_ | 5 #ifndef CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ |
6 #define CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ | 6 #define CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
9 #include "cc/debug/rendering_stats.h" | 10 #include "cc/debug/rendering_stats.h" |
10 | 11 |
11 namespace cc { | 12 namespace cc { |
12 namespace benchmark_instrumentation { | 13 namespace benchmark_instrumentation { |
13 | 14 |
14 // Please do not change the trace events in this file without updating | 15 // Please do not change the trace events in this file without updating |
15 // tools/perf/measurements/rendering_stats.py accordingly. | 16 // tools/perf/measurements/rendering_stats.py accordingly. |
16 // The benchmarks search for events and their arguments by name. | 17 // The benchmarks search for events and their arguments by name. |
17 | 18 |
(...skipping 26 matching lines...) Expand all Loading... |
44 DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask); | 45 DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask); |
45 }; | 46 }; |
46 | 47 |
47 void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats); | 48 void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats); |
48 void CC_EXPORT IssueDisplayRenderingStatsEvent(); | 49 void CC_EXPORT IssueDisplayRenderingStatsEvent(); |
49 | 50 |
50 } // namespace benchmark_instrumentation | 51 } // namespace benchmark_instrumentation |
51 } // namespace cc | 52 } // namespace cc |
52 | 53 |
53 #endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ | 54 #endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ |
OLD | NEW |