v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <profile-generator.h>
Public Member Functions | |
HeapSnapshotsCollection () | |
~HeapSnapshotsCollection () | |
bool | is_tracking_objects () |
SnapshotObjectId | PushHeapObjectsStats (OutputStream *stream) |
void | StartHeapObjectsTracking () |
void | StopHeapObjectsTracking () |
HeapSnapshot * | NewSnapshot (HeapSnapshot::Type type, const char *name, unsigned uid) |
void | SnapshotGenerationFinished (HeapSnapshot *snapshot) |
List< HeapSnapshot * > * | snapshots () |
HeapSnapshot * | GetSnapshot (unsigned uid) |
void | RemoveSnapshot (HeapSnapshot *snapshot) |
StringsStorage * | names () |
TokenEnumerator * | token_enumerator () |
SnapshotObjectId | FindObjectId (Address object_addr) |
SnapshotObjectId | GetObjectId (Address object_addr, int object_size) |
Handle< HeapObject > | FindHeapObjectById (SnapshotObjectId id) |
void | ObjectMoveEvent (Address from, Address to) |
SnapshotObjectId | last_assigned_id () const |
size_t | GetUsedMemorySize () const |
Definition at line 706 of file profile-generator.h.
Definition at line 1474 of file profile-generator.cc.
Definition at line 1486 of file profile-generator.cc.
Handle< HeapObject > FindHeapObjectById | ( | SnapshotObjectId | id | ) |
Definition at line 1531 of file profile-generator.cc.
References ASSERT, HeapObjectsMap::FindEntry(), HEAP, Heap::kMakeHeapIterableMask, and v8::internal::NULL.
|
inline |
Definition at line 728 of file profile-generator.h.
References HeapObjectsMap::FindEntry().
Referenced by HeapProfiler::GetSnapshotObjectId().
|
inline |
Definition at line 731 of file profile-generator.h.
References HeapObjectsMap::FindOrAddEntry().
HeapSnapshot * GetSnapshot | ( | unsigned | uid | ) |
Definition at line 1515 of file profile-generator.cc.
References TemplateHashMapImpl< AllocationPolicy >::Lookup(), and v8::internal::NULL.
Referenced by HeapProfiler::FindSnapshot().
size_t GetUsedMemorySize | ( | ) | const |
Definition at line 1553 of file profile-generator.cc.
References TemplateHashMapImpl< AllocationPolicy >::capacity(), StringsStorage::GetUsedMemorySize(), HeapObjectsMap::GetUsedMemorySize(), and v8::internal::STATIC_CHECK().
Referenced by HeapProfiler::GetMemorySizeUsedByProfiler().
|
inline |
Definition at line 711 of file profile-generator.h.
Referenced by HeapProfiler::INLINE().
|
inline |
Definition at line 736 of file profile-generator.h.
References HeapObjectsMap::last_assigned_id().
Referenced by HeapSnapshot::RememberLastJSObjectId().
|
inline |
Definition at line 725 of file profile-generator.h.
Referenced by BasicHeapEntriesAllocator::AllocateEntry(), SnapshotFiller::SetNamedAutoIndexReference(), and V8HeapExplorer::TagGlobalObjects().
HeapSnapshot * NewSnapshot | ( | HeapSnapshot::Type | type, |
const char * | name, | ||
unsigned | uid | ||
) |
Definition at line 1492 of file profile-generator.cc.
Definition at line 735 of file profile-generator.h.
References HeapObjectsMap::MoveObject().
Referenced by HeapProfiler::ObjectMoveEvent().
|
inline |
Definition at line 712 of file profile-generator.h.
References HeapObjectsMap::PushHeapObjectsStats().
void RemoveSnapshot | ( | HeapSnapshot * | snapshot | ) |
Definition at line 1523 of file profile-generator.cc.
References TemplateHashMapImpl< AllocationPolicy >::Remove(), and HeapSnapshot::uid().
Referenced by HeapSnapshot::Delete().
void SnapshotGenerationFinished | ( | HeapSnapshot * | snapshot | ) |
Definition at line 1500 of file profile-generator.cc.
References ASSERT, TemplateHashMapImpl< AllocationPolicy >::Lookup(), v8::internal::NULL, HeapObjectsMap::SnapshotGenerationFinished(), and HeapSnapshot::uid().
|
inline |
Definition at line 721 of file profile-generator.h.
Referenced by HeapProfiler::GetSnapshot(), and HeapProfiler::GetSnapshotsCount().
|
inline |
Definition at line 715 of file profile-generator.h.
|
inline |
Definition at line 716 of file profile-generator.h.
References HeapObjectsMap::StopHeapObjectsTracking().
|
inline |
Definition at line 726 of file profile-generator.h.