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

Unified Diff: cc/debug/benchmark_instrumentation.cc

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/debug/benchmark_instrumentation.h ('k') | cc/debug/debug_colors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/benchmark_instrumentation.cc
diff --git a/cc/debug/benchmark_instrumentation.cc b/cc/debug/benchmark_instrumentation.cc
deleted file mode 100644
index 5a04e214ed1a6d8eff90bef0bf1ddad25b877ddd..0000000000000000000000000000000000000000
--- a/cc/debug/benchmark_instrumentation.cc
+++ /dev/null
@@ -1,35 +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.
-
-#include "base/trace_event/trace_event.h"
-#include "cc/debug/benchmark_instrumentation.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.
-
-void IssueImplThreadRenderingStatsEvent(const RenderingStats& stats) {
- TRACE_EVENT_INSTANT1("benchmark",
- "BenchmarkInstrumentation::ImplThreadRenderingStats",
- TRACE_EVENT_SCOPE_THREAD,
- "data", stats.AsTraceableData());
-}
-
-void IssueDisplayRenderingStatsEvent() {
- scoped_refptr<base::trace_event::TracedValue> record_data =
- new base::trace_event::TracedValue();
- record_data->SetInteger("frame_count", 1);
- TRACE_EVENT_INSTANT1(
- "benchmark",
- "BenchmarkInstrumentation::DisplayRenderingStats",
- TRACE_EVENT_SCOPE_THREAD,
- "data",
- scoped_refptr<base::trace_event::ConvertableToTraceFormat>(record_data));
-}
-
-} // namespace benchmark_instrumentation
-} // namespace cc
« no previous file with comments | « cc/debug/benchmark_instrumentation.h ('k') | cc/debug/debug_colors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698