v8.h   v8.h 
skipping to change at line 2920 skipping to change at line 2920
* See also PauseProfiler(). * See also PauseProfiler().
*/ */
static void ResumeProfiler(); static void ResumeProfiler();
/** /**
* Return whether profiler is currently paused. * Return whether profiler is currently paused.
*/ */
static bool IsProfilerPaused(); static bool IsProfilerPaused();
/** /**
* 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.
*
* Caller provides a destination buffer that must exist during GetLogLine
s
* call. Only whole log lines are copied into the buffer.
*
* \param from_pos specified a point in a buffer to read from, 0 is the
* beginning of a buffer. It is assumed that caller updates its current
* position using returned size value from the previous call.
* \param dest_buf destination buffer for log data.
* \param max_size size of the destination buffer.
* \returns actual size of log data copied into buffer.
*/
static int GetLogLines(int from_pos, char* dest_buf, int max_size);
/**
* The minimum allowed size for a log lines buffer. If the size of
* the buffer given will not be enough to hold a line of the maximum
* length, an attempt to find a log line end in GetLogLines will
* fail, and an empty result will be returned.
*/
static const int kMinimumSizeForLogLinesBuffer = 2048;
/**
* Retrieve the V8 thread id of the calling thread. * Retrieve the V8 thread id of the calling thread.
* *
* The thread id for a thread should only be retrieved after the V8 * The thread id for a thread should only be retrieved after the V8
* lock has been acquired with a Locker object with that thread. * lock has been acquired with a Locker object with that thread.
*/ */
static int GetCurrentThreadId(); static int GetCurrentThreadId();
/** /**
* Forcefully terminate execution of a JavaScript thread. This can * Forcefully terminate execution of a JavaScript thread. This can
* be used to terminate long-running scripts. * be used to terminate long-running scripts.
 End of changes. 1 change blocks. 
27 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/