Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e4ac1a3e1820c5c4b2f57ff3be65e7d88018bfc9..fb10c71576da0a92963b4decfe4dde60067a34fb 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2558,18 +2558,6 @@ typedef void (*GCCallback)(); |
/** |
- * Profiler modules. |
- * |
- * In V8, profiler consists of several modules. Each can be turned on / off |
- * independently. |
- */ |
-enum ProfilerModules { |
- PROFILER_MODULE_NONE = 0, |
- PROFILER_MODULE_CPU = 1 |
-}; |
- |
- |
-/** |
* Collection of V8 heap information. |
* |
* Instances of this class can be passed to v8::V8::HeapStatistics to |
@@ -2996,40 +2984,6 @@ class V8EXPORT V8 { |
static bool IsProfilerPaused(); |
/** |
- * Resumes specified profiler modules. Can be called several times to |
- * mark the opening of a profiler events block with the given tag. |
- * |
- * "ResumeProfiler" is equivalent to "ResumeProfilerEx(PROFILER_MODULE_CPU)". |
- * See ProfilerModules enum. |
- * |
- * \param flags Flags specifying profiler modules. |
- * \param tag Profile tag. |
- */ |
- static void ResumeProfilerEx(int flags, int tag = 0); |
- |
- /** |
- * Pauses specified profiler modules. Each call to "PauseProfilerEx" closes |
- * a block of profiler events opened by a call to "ResumeProfilerEx" with the |
- * same tag value. There is no need for blocks to be properly nested. |
- * The profiler is paused when the last opened block is closed. |
- * |
- * "PauseProfiler" is equivalent to "PauseProfilerEx(PROFILER_MODULE_CPU)". |
- * See ProfilerModules enum. |
- * |
- * \param flags Flags specifying profiler modules. |
- * \param tag Profile tag. |
- */ |
- static void PauseProfilerEx(int flags, int tag = 0); |
- |
- /** |
- * Returns active (resumed) profiler modules. |
- * See ProfilerModules enum. |
- * |
- * \returns active profiler modules. |
- */ |
- static int GetActiveProfilerModules(); |
- |
- /** |
* If logging is performed into a memory buffer (via --logfile=*), allows to |
* retrieve previously written messages. This can be used for retrieving |
* profiler log data in the application. This function is thread-safe. |