Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index f5cccc295e0b591d6e48367ae87ae5c630db0be7..5017a58945a36972b92bcf0aaae6dd380c57543c 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&); |