| Index: include/v8-profiler.h
|
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h
|
| index 59c2d5dacdb13eb390cd6e266957398336a5d553..257ec71fe2b6e6b0e1ddd91ce2bfffd1e2a0891e 100644
|
| --- a/include/v8-profiler.h
|
| +++ b/include/v8-profiler.h
|
| @@ -158,12 +158,18 @@ class V8_EXPORT CpuProfiler {
|
| * |record_samples| parameter controls whether individual samples should
|
| * be recorded in addition to the aggregated tree.
|
| */
|
| + void StartProfiling(Handle<String> title, bool record_samples = false);
|
| +
|
| + /** Deprecated. Use StartProfiling instead. */
|
| void StartCpuProfiling(Handle<String> title, bool record_samples = false);
|
|
|
| /**
|
| * Stops collecting CPU profile with a given title and returns it.
|
| * If the title given is empty, finishes the last profile started.
|
| */
|
| + CpuProfile* StopProfiling(Handle<String> title);
|
| +
|
| + /** Deprecated. Use StopProfiling instead. */
|
| const CpuProfile* StopCpuProfiling(Handle<String> title);
|
|
|
| /**
|
|
|