v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>
Public Types | |
enum | WriteResult { kContinue = 0, kAbort = 1 } |
Public Member Functions | |
virtual | ~OutputStream () |
virtual void | EndOfStream ()=0 |
virtual int | GetChunkSize () |
virtual WriteResult | WriteAsciiChunk (char *data, int size)=0 |
virtual WriteResult | WriteHeapStatsChunk (HeapStatsUpdate *data, int count) |
An interface for exporting data from V8, using "push" model.
Definition at line 283 of file v8-profiler.h.
enum WriteResult |
Enumerator | |
---|---|
kContinue | |
kAbort |
Definition at line 285 of file v8-profiler.h.
|
inlinevirtual |
Definition at line 289 of file v8-profiler.h.
|
pure virtual |
Notify about the end of stream.
Referenced by OutputStreamWriter::Finalize(), and HeapObjectsMap::PushHeapObjectsStats().
|
inlinevirtual |
Get preferred output chunk size. Called only once.
Definition at line 293 of file v8-profiler.h.
Referenced by HeapObjectsMap::PushHeapObjectsStats(), and HeapSnapshot::Serialize().
|
pure virtual |
Writes the next chunk of snapshot data into the stream. Writing can be stopped by returning kAbort as function result. EndOfStream will not be called in case writing was aborted.
|
inlinevirtual |
Writes the next chunk of heap stats data into the stream. Writing can be stopped by returning kAbort as function result. EndOfStream will not be called in case writing was aborted.
Definition at line 305 of file v8-profiler.h.
Referenced by HeapObjectsMap::PushHeapObjectsStats().