diff options
Diffstat (limited to 'V8Binding/v8/src/log.h')
-rw-r--r-- | V8Binding/v8/src/log.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/V8Binding/v8/src/log.h b/V8Binding/v8/src/log.h index 95c9cde..89f6cdb 100644 --- a/V8Binding/v8/src/log.h +++ b/V8Binding/v8/src/log.h @@ -219,6 +219,8 @@ class Logger { static void HeapSampleBeginEvent(const char* space, const char* kind); static void HeapSampleEndEvent(const char* space, const char* kind); static void HeapSampleItemEvent(const char* type, int number, int bytes); + static void HeapSampleJSConstructorEvent(const char* constructor, + int number, int bytes); static void HeapSampleStats(const char* space, const char* kind, int capacity, int used); @@ -247,11 +249,11 @@ class Logger { } // Pause/Resume collection of profiling data. - // When data collection is paused, Tick events are discarded until + // When data collection is paused, CPU Tick events are discarded until // data collection is Resumed. - static bool IsProfilerPaused(); - static void PauseProfiler(); - static void ResumeProfiler(); + static void PauseProfiler(int flags); + static void ResumeProfiler(int flags); + static int GetActiveProfilerModules(); // If logging is performed into a memory buffer, allows to // retrieve previously written messages. See v8.h. |