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

Unified Diff: cc/debug/benchmark_instrumentation.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/cc_unittests.isolate ('k') | cc/debug/benchmark_instrumentation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/benchmark_instrumentation.h
diff --git a/cc/debug/benchmark_instrumentation.h b/cc/debug/benchmark_instrumentation.h
deleted file mode 100644
index 944ac66d216206173206dba90aaf71fa961671ed..0000000000000000000000000000000000000000
--- a/cc/debug/benchmark_instrumentation.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
-#define CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/debug/rendering_stats.h"
-
-namespace cc {
-namespace benchmark_instrumentation {
-
-// Please do not change the trace events in this file without updating
-// tools/perf/measurements/rendering_stats.py accordingly.
-// The benchmarks search for events and their arguments by name.
-
-namespace internal {
-const char kCategory[] = "cc,benchmark";
-const char kBeginFrameId[] = "begin_frame_id";
-} // namespace internal
-
-const char kSendBeginFrame[] = "ThreadProxy::ScheduledActionSendBeginMainFrame";
-const char kDoBeginFrame[] = "ThreadProxy::BeginMainFrame";
-
-class ScopedBeginFrameTask {
- public:
- ScopedBeginFrameTask(const char* event_name, unsigned int begin_frame_id)
- : event_name_(event_name) {
- TRACE_EVENT_BEGIN1(internal::kCategory,
- event_name_,
- internal::kBeginFrameId,
- begin_frame_id);
- }
- ~ScopedBeginFrameTask() {
- TRACE_EVENT_END0(internal::kCategory, event_name_);
- }
-
- private:
- const char* event_name_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedBeginFrameTask);
-};
-
-void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats);
-void CC_EXPORT IssueDisplayRenderingStatsEvent();
-
-} // namespace benchmark_instrumentation
-} // namespace cc
-
-#endif // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
« no previous file with comments | « cc/cc_unittests.isolate ('k') | cc/debug/benchmark_instrumentation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698