v8  3.14.5(node0.10.28)
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)
 
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 135 of file mksnapshot.cc.

Constructor & Destructor Documentation

CppByteSink ( const char *  snapshot_file)
inlineexplicit

Definition at line 137 of file mksnapshot.cc.

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

virtual ~CppByteSink ( )
inlinevirtual

Definition at line 151 of file mksnapshot.cc.

Member Function Documentation

PartialSnapshotSink* partial_sink ( )
inline

Definition at line 230 of file mksnapshot.cc.

Referenced by main().

void WritePartialSnapshot ( )
inline

Definition at line 202 of file mksnapshot.cc.

Referenced by main().

void WriteSnapshot ( )
inline

Definition at line 226 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 
)
inline

Definition at line 168 of file mksnapshot.cc.

Referenced by main().


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