| Index: include/v8-profiler.h
|
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h
|
| index a991aa059d18b4d70e35e1e3da8b46183598c86b..007ae2eca55e411981171e3a34396f06f5b0236e 100644
|
| --- a/include/v8-profiler.h
|
| +++ b/include/v8-profiler.h
|
| @@ -207,6 +207,13 @@ class V8_EXPORT CpuProfiler {
|
| CpuProfile* StopProfiling(Local<String> title);
|
|
|
| /**
|
| + * Force collection of a sample. Must be called on the VM thread.
|
| + * Recording the forced sample does not contribute to the aggregated
|
| + * profile statistics.
|
| + */
|
| + void CollectSample();
|
| +
|
| + /**
|
| * Tells the profiler whether the embedder is idle.
|
| */
|
| void SetIdle(bool is_idle);
|
|
|