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 "base/macros.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/cc_export.h" |
10 #include "cc/debug/rendering_stats.h" | 10 #include "cc/debug/rendering_stats.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 namespace benchmark_instrumentation { | 13 namespace benchmark_instrumentation { |
14 | 14 |
15 // 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 |
16 // tools/perf/measurements/rendering_stats.py accordingly. | 16 // tools/perf/measurements/rendering_stats.py accordingly. |
17 // The benchmarks search for events and their arguments by name. | 17 // The benchmarks search for events and their arguments by name. |
18 | 18 |
19 namespace internal { | 19 namespace internal { |
(...skipping 25 matching lines...) Expand all Loading... |
45 DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask); | 45 DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask); |
46 }; | 46 }; |
47 | 47 |
48 void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats); | 48 void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats); |
49 void CC_EXPORT IssueDisplayRenderingStatsEvent(); | 49 void CC_EXPORT IssueDisplayRenderingStatsEvent(); |
50 | 50 |
51 } // namespace benchmark_instrumentation | 51 } // namespace benchmark_instrumentation |
52 } // namespace cc | 52 } // namespace cc |
53 | 53 |
54 #endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ | 54 #endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ |
OLD | NEW |