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

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

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/debug/benchmark_instrumentation.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 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 "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/debug/rendering_stats.h" 9 #include "cc/debug/rendering_stats.h"
10 10
(...skipping 24 matching lines...) Expand all
35 ~ScopedBeginFrameTask() { 35 ~ScopedBeginFrameTask() {
36 TRACE_EVENT_END0(internal::kCategory, event_name_); 36 TRACE_EVENT_END0(internal::kCategory, event_name_);
37 } 37 }
38 38
39 private: 39 private:
40 const char* event_name_; 40 const char* event_name_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask); 42 DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask);
43 }; 43 };
44 44
45 void IssueMainThreadRenderingStatsEvent( 45 void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats);
46 const RenderingStats::MainThreadRenderingStats& stats);
47 void IssueImplThreadRenderingStatsEvent(
48 const RenderingStats::ImplThreadRenderingStats& stats);
49 void CC_EXPORT IssueDisplayRenderingStatsEvent(); 46 void CC_EXPORT IssueDisplayRenderingStatsEvent();
50 47
51 } // namespace benchmark_instrumentation 48 } // namespace benchmark_instrumentation
52 } // namespace cc 49 } // namespace cc
53 50
54 #endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_ 51 #endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/debug/benchmark_instrumentation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698