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

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
« no previous file with comments | « base/profiler/cpu_profiler.cc ('k') | base/profiler/cpu_profiler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f1ec5115f27a983a0838813c1a2054b3463cd039
--- /dev/null
+++ b/base/profiler/cpu_profiler_posix.cc
@@ -0,0 +1,20 @@
+// 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() {}
+
+}
« no previous file with comments | « base/profiler/cpu_profiler.cc ('k') | base/profiler/cpu_profiler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698