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

Unified Diff: include/v8.h

Issue 13460002: Isolatify CPU profiler public API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 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 | « no previous file | include/v8-profiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index e65999fec6aacd87f4f891b193e3ef6db3e2b592..9adb1c041cf20bd2ed12d7a04dfe07c53cd1712b 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -103,6 +103,7 @@ class Array;
class Boolean;
class BooleanObject;
class Context;
+class CpuProfiler;
class Data;
class Date;
class DeclaredAccessorDescriptor;
@@ -3029,6 +3030,12 @@ class V8EXPORT Isolate {
*/
HeapProfiler* GetHeapProfiler();
+ /**
+ * Returns CPU profiler for this isolate. Will return NULL until the isolate
+ * is initialized.
+ */
+ CpuProfiler* GetCpuProfiler();
+
private:
Isolate();
Isolate(const Isolate&);
« no previous file with comments | « no previous file | include/v8-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698