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&); |