v8-profiler.h   v8-profiler.h 
skipping to change at line 108 skipping to change at line 108
*/ */
class V8_EXPORT CpuProfile { class V8_EXPORT CpuProfile {
public: public:
/** Returns CPU profile title. */ /** Returns CPU profile title. */
Handle<String> GetTitle() const; Handle<String> GetTitle() const;
/** Returns the root node of the top down call tree. */ /** Returns the root node of the top down call tree. */
const CpuProfileNode* GetTopDownRoot() const; const CpuProfileNode* GetTopDownRoot() const;
/** /**
* Returns number of samples recorded. The samples are not recorded unle * Returns number of samples recorded. The samples are not recorded unles
ss s
* |record_samples| parameter of CpuProfiler::StartCpuProfiling is true. * |record_samples| parameter of CpuProfiler::StartCpuProfiling is true.
*/ */
int GetSamplesCount() const; int GetSamplesCount() const;
/** /**
* Returns profile node corresponding to the top frame the sample at * Returns profile node corresponding to the top frame the sample at
* the given index. * the given index.
*/ */
const CpuProfileNode* GetSample(int index) const; const CpuProfileNode* GetSample(int index) const;
/** /**
* Returns time when the profile recording was started (in microseconds) * Returns the timestamp of the sample. The timestamp is the number of
* since some unspecified starting point. * microseconds since some unspecified starting point.
*/ * The point is equal to the starting point used by GetStartTime.
*/
int64_t GetSampleTimestamp(int index) const;
/**
* Returns time when the profile recording was started (in microseconds)
* since some unspecified starting point.
*/
int64_t GetStartTime() const; int64_t GetStartTime() const;
/** /**
* Returns time when the profile recording was stopped (in microseconds) * Returns time when the profile recording was stopped (in microseconds)
* since some unspecified starting point. The point is however equal to * since some unspecified starting point.
the * The point is equal to the starting point used by GetStartTime.
* starting point used by GetStartTime. */
*/
int64_t GetEndTime() const; int64_t GetEndTime() const;
/** /**
* Deletes the profile and removes it from CpuProfiler's list. * Deletes the profile and removes it from CpuProfiler's list.
* All pointers to nodes previously returned become invalid. * All pointers to nodes previously returned become invalid.
*/ */
void Delete(); void Delete();
}; };
/** /**
 End of changes. 4 change blocks. 
15 lines changed or deleted 21 lines changed or added


 v8.h   v8.h 
skipping to change at line 4636 skipping to change at line 4636
static void AddMemoryAllocationCallback(MemoryAllocationCallback callback , static void AddMemoryAllocationCallback(MemoryAllocationCallback callback ,
ObjectSpace space, ObjectSpace space,
AllocationAction action); AllocationAction action);
/** /**
* Removes callback that was installed by AddMemoryAllocationCallback. * Removes callback that was installed by AddMemoryAllocationCallback.
*/ */
static void RemoveMemoryAllocationCallback(MemoryAllocationCallback callb ack); static void RemoveMemoryAllocationCallback(MemoryAllocationCallback callb ack);
/** /**
* Adds a callback to notify the host application when a script finished
* running. If a script re-enters the runtime during executing, the
* CallCompletedCallback is only invoked when the outer-most script
* execution ends. Executing scripts inside the callback do not trigger
* further callbacks.
*
* Will be deprecated soon. Use Isolate::AddCallCompletedCallback.
*/
static void AddCallCompletedCallback(CallCompletedCallback callback);
/**
* Removes callback that was installed by AddCallCompletedCallback.
*
* Will be deprecated soon. Use Isolate::RemoveCallCompletedCallback.
*/
static void RemoveCallCompletedCallback(CallCompletedCallback callback);
/**
* Experimental: Runs the Microtask Work Queue until empty * Experimental: Runs the Microtask Work Queue until empty
*/ */
static void RunMicrotasks(Isolate* isolate); static void RunMicrotasks(Isolate* isolate);
/** /**
* Experimental: Enqueues the callback to the Microtask Work Queue * Experimental: Enqueues the callback to the Microtask Work Queue
*/ */
static void EnqueueMicrotask(Isolate* isolate, Handle<Function> microtask ); static void EnqueueMicrotask(Isolate* isolate, Handle<Function> microtask );
/** /**
 End of changes. 1 change blocks. 
18 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/