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

Unified Diff: base/profiler/cpu_profiler_posix.cc

Issue 888923004: Temporary commit to evaluate perf impact of prototype CPU profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: address comments Created 5 years, 10 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
Index: base/profiler/cpu_profiler_posix.cc
diff --git a/base/profiler/cpu_profiler_posix.cc b/base/profiler/cpu_profiler_posix.cc
new file mode 100644
index 0000000000000000000000000000000000000000..13a24bf3d7237b8ed7e59a9c9015dd3faa942539
--- /dev/null
+++ b/base/profiler/cpu_profiler_posix.cc
@@ -0,0 +1,22 @@
+// Copyright 2015 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/profiler/cpu_profiler.h"
+
+namespace base {
+
+CpuProfiler::CpuProfiler() {}
+
+CpuProfiler::~CpuProfiler() {}
+
+// static
+bool CpuProfiler::IsPlatformSupported() {
+ return false;
+}
+
+void CpuProfiler::OnTimer() {}
+
+void CpuProfiler::GetThreadIds() {}
+
+}

Powered by Google App Engine
This is Rietveld 408576698