v8  3.25.30(node0.11.13)
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 (const char *prefix, 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 property_cell_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 92 of file mksnapshot.cc.

Constructor & Destructor Documentation

CppByteSink ( const char *  snapshot_file)
inlineexplicit

Definition at line 94 of file mksnapshot.cc.

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

virtual ~CppByteSink ( )
inlinevirtual

Definition at line 108 of file mksnapshot.cc.

Member Function Documentation

PartialSnapshotSink* partial_sink ( )
inline

Definition at line 192 of file mksnapshot.cc.

Referenced by main().

void WritePartialSnapshot ( )
inline

Definition at line 164 of file mksnapshot.cc.

Referenced by main().

void WriteSnapshot ( )
inline

Definition at line 188 of file mksnapshot.cc.

References Print().

Referenced by main().

void WriteSpaceUsed ( const char *  prefix,
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  property_cell_space_used 
)
inline

Definition at line 125 of file mksnapshot.cc.

Referenced by main().


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