Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 5338fcd59c2c7711ef475e9949b22411c6374b6c..8e6251aca50c2be9ce979d301dcd89d3829887f5 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -75,6 +75,9 @@ class V8EXPORT CpuProfileNode { |
/** Returns function name (empty string for anonymous functions.) */ |
Handle<String> GetFunctionName() const; |
+ /** Returns id of the script where function is located. */ |
+ int GetScriptId() const; |
+ |
/** Returns resource name for script from where the function originates. */ |
Handle<String> GetScriptResourceName() const; |