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
HeapSnapshotsCollection Class Reference

#include <profile-generator.h>

Public Member Functions

 HeapSnapshotsCollection ()
 
 ~HeapSnapshotsCollection ()
 
bool is_tracking_objects ()
 
SnapshotObjectId PushHeapObjectsStats (OutputStream *stream)
 
void StartHeapObjectsTracking ()
 
void StopHeapObjectsTracking ()
 
HeapSnapshotNewSnapshot (HeapSnapshot::Type type, const char *name, unsigned uid)
 
void SnapshotGenerationFinished (HeapSnapshot *snapshot)
 
List< HeapSnapshot * > * snapshots ()
 
HeapSnapshotGetSnapshot (unsigned uid)
 
void RemoveSnapshot (HeapSnapshot *snapshot)
 
StringsStoragenames ()
 
TokenEnumeratortoken_enumerator ()
 
SnapshotObjectId FindObjectId (Address object_addr)
 
SnapshotObjectId GetObjectId (Address object_addr, int object_size)
 
Handle< HeapObjectFindHeapObjectById (SnapshotObjectId id)
 
void ObjectMoveEvent (Address from, Address to)
 
SnapshotObjectId last_assigned_id () const
 
size_t GetUsedMemorySize () const
 

Detailed Description

Definition at line 706 of file profile-generator.h.

Constructor & Destructor Documentation

Definition at line 1474 of file profile-generator.cc.

Definition at line 1486 of file profile-generator.cc.

Member Function Documentation

SnapshotObjectId FindObjectId ( Address  object_addr)
inline

Definition at line 728 of file profile-generator.h.

References HeapObjectsMap::FindEntry().

Referenced by HeapProfiler::GetSnapshotObjectId().

SnapshotObjectId GetObjectId ( Address  object_addr,
int  object_size 
)
inline

Definition at line 731 of file profile-generator.h.

References HeapObjectsMap::FindOrAddEntry().

HeapSnapshot * GetSnapshot ( unsigned  uid)
bool is_tracking_objects ( )
inline

Definition at line 711 of file profile-generator.h.

Referenced by HeapProfiler::INLINE().

SnapshotObjectId last_assigned_id ( ) const
inline
HeapSnapshot * NewSnapshot ( HeapSnapshot::Type  type,
const char *  name,
unsigned  uid 
)

Definition at line 1492 of file profile-generator.cc.

void ObjectMoveEvent ( Address  from,
Address  to 
)
inline

Definition at line 735 of file profile-generator.h.

References HeapObjectsMap::MoveObject().

Referenced by HeapProfiler::ObjectMoveEvent().

SnapshotObjectId PushHeapObjectsStats ( OutputStream stream)
inline

Definition at line 712 of file profile-generator.h.

References HeapObjectsMap::PushHeapObjectsStats().

void RemoveSnapshot ( HeapSnapshot snapshot)
List<HeapSnapshot*>* snapshots ( )
inline
void StartHeapObjectsTracking ( )
inline

Definition at line 715 of file profile-generator.h.

void StopHeapObjectsTracking ( )
inline

Definition at line 716 of file profile-generator.h.

References HeapObjectsMap::StopHeapObjectsTracking().

TokenEnumerator* token_enumerator ( )
inline

Definition at line 726 of file profile-generator.h.


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