| Index: src/cpu-profiler.h
|
| diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h
|
| index b06f6abb3c9df79f1c94ec07d4547ce03d24dc66..e04cf855f61e4b28ad79e4abe95e584e4fd17f67 100644
|
| --- a/src/cpu-profiler.h
|
| +++ b/src/cpu-profiler.h
|
| @@ -227,6 +227,9 @@ class CpuProfiler {
|
| static int GetProfilesCount();
|
| static CpuProfile* GetProfile(Object* security_token, int index);
|
| static CpuProfile* FindProfile(Object* security_token, unsigned uid);
|
| + static void DeleteAllProfiles();
|
| + static void DeleteProfile(CpuProfile* profile);
|
| + static bool HasDetachedProfiles();
|
|
|
| // Invoked from stack sampler (thread or signal handler.)
|
| static TickSample* TickSampleEvent(Isolate* isolate);
|
| @@ -276,6 +279,8 @@ class CpuProfiler {
|
| CpuProfile* StopCollectingProfile(const char* title);
|
| CpuProfile* StopCollectingProfile(Object* security_token, String* title);
|
| void StopProcessorIfLastProfile(const char* title);
|
| + void StopProcessor();
|
| + void ResetProfiles();
|
|
|
| CpuProfilesCollection* profiles_;
|
| unsigned next_profile_uid_;
|
|
|