v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CppByteSink Class Reference
Inheritance diagram for CppByteSink:
Collaboration diagram for CppByteSink:

Public Member Functions

 CppByteSink (const char *snapshot_file)
 
virtual ~CppByteSink ()
 
void WriteSpaceUsed (int new_space_used, int pointer_space_used, int data_space_used, int code_space_used, int map_space_used, int cell_space_used, int large_space_used)
 
void WritePartialSnapshot ()
 
void WriteSnapshot ()
 
PartialSnapshotSinkpartial_sink ()
 
- Public Member Functions inherited from PartialSnapshotSink
 PartialSnapshotSink ()
 
virtual ~PartialSnapshotSink ()
 
virtual void Put (int byte, const char *description)
 
virtual int Position ()
 
void Print (FILE *fp)
 
char at (int i)
 
bool Compress (Compressor *compressor)
 
int raw_size ()
 
- Public Member Functions inherited from SnapshotByteSink
virtual ~SnapshotByteSink ()
 
virtual void PutSection (int byte, const char *description)
 
void PutInt (uintptr_t integer, const char *description)
 

Detailed Description

Definition at line 132 of file mksnapshot.cc.

Constructor & Destructor Documentation

CppByteSink ( const char *  snapshot_file)
inlineexplicit

Definition at line 134 of file mksnapshot.cc.

References OS::FOpen(), NULL, and v8::internal::PrintF().

virtual ~CppByteSink ( )
inlinevirtual

Definition at line 148 of file mksnapshot.cc.

Member Function Documentation

PartialSnapshotSink* partial_sink ( )
inline

Definition at line 220 of file mksnapshot.cc.

Referenced by main().

void WritePartialSnapshot ( )
inline

Definition at line 192 of file mksnapshot.cc.

Referenced by main().

void WriteSnapshot ( )
inline

Definition at line 216 of file mksnapshot.cc.

References Print().

Referenced by main().

void WriteSpaceUsed ( int  new_space_used,
int  pointer_space_used,
int  data_space_used,
int  code_space_used,
int  map_space_used,
int  cell_space_used,
int  large_space_used 
)
inline

Definition at line 165 of file mksnapshot.cc.

Referenced by main().


The documentation for this class was generated from the following file: