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

Unified Diff: src/profiler/tracing-cpu-profiler.h

Issue 2378143003: [profiler] Introduce Tracing CPU profiler V8 API. (Closed)
Patch Set: Created 4 years, 3 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 | « include/v8-profiler.h ('k') | src/profiler/tracing-cpu-profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profiler/tracing-cpu-profiler.h
diff --git a/src/profiler/tracing-cpu-profiler.h b/src/profiler/tracing-cpu-profiler.h
new file mode 100644
index 0000000000000000000000000000000000000000..80f1bdcc9286bbb225eb2d7fe4be812a326c31a8
--- /dev/null
+++ b/src/profiler/tracing-cpu-profiler.h
@@ -0,0 +1,26 @@
+// Copyright 2016 the V8 project 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 V8_PROFILER_TRACING_CPU_PROFILER_H
+#define V8_PROFILER_TRACING_CPU_PROFILER_H
+
+#include "include/v8-profiler.h"
+#include "src/base/macros.h"
+
+namespace v8 {
+namespace internal {
+
+class TracingCpuProfilerImpl final : public TracingCpuProfiler {
+ public:
+ explicit TracingCpuProfilerImpl(Isolate*);
+ ~TracingCpuProfilerImpl();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TracingCpuProfilerImpl);
+};
+
+} // namespace internal
+} // namespace v8
+
+#endif // V8_PROFILER_TRACING_CPU_PROFILER_H
« no previous file with comments | « include/v8-profiler.h ('k') | src/profiler/tracing-cpu-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698