Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 1d7b70d3c4e7988a2f8090ed2c1ef84da1bd195b..f2128ce0bed6bb35ebcbdca72cfd6e56d892f892 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -192,6 +192,11 @@ class V8_EXPORT CpuProfiler { |
*/ |
void DeleteAllCpuProfiles(); |
+ /** |
+ * Tells the profiler whether the embedder is idle. |
+ */ |
+ void SetIdle(bool is_idle); |
+ |
private: |
CpuProfiler(); |
~CpuProfiler(); |