Index: src/cpu-profiler.h |
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
index 3dc766bc75d8419e119d359dc35cd43202789510..2ec4c70a8fd101314f4a113e21c2d0a025b7b8ca 100644 |
--- a/src/cpu-profiler.h |
+++ b/src/cpu-profiler.h |
@@ -207,7 +207,7 @@ class CpuProfiler { |
static void TearDown(); |
static void StartProfiling(const char* title); |
- static void StartProfiling(String* title); |
+ static void StartProfiling(String* title, bool record_samples); |
static CpuProfile* StopProfiling(const char* title); |
static CpuProfile* StopProfiling(Object* security_token, String* title); |
static int GetProfilesCount(); |
@@ -253,8 +253,8 @@ class CpuProfiler { |
private: |
CpuProfiler(); |
~CpuProfiler(); |
- void StartCollectingProfile(const char* title); |
- void StartCollectingProfile(String* title); |
+ void StartCollectingProfile(const char* title, bool record_samples); |
+ void StartCollectingProfile(String* title, bool record_samples); |
void StartProcessorIfNotStarted(); |
CpuProfile* StopCollectingProfile(const char* title); |
CpuProfile* StopCollectingProfile(Object* security_token, String* title); |