v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <profile-generator.h>
Public Member Functions | |
StringsStorage () | |
~StringsStorage () | |
const char * | GetCopy (const char *src) |
const char * | GetFormatted (const char *format,...) |
const char * | GetVFormatted (const char *format, va_list args) |
const char * | GetName (String *name) |
const char * | GetName (int index) |
const char * | GetFunctionName (String *name) |
const char * | GetFunctionName (const char *name) |
size_t | GetUsedMemorySize () const |
Definition at line 63 of file profile-generator.h.
StringsStorage | ( | ) |
Definition at line 95 of file profile-generator.cc.
~StringsStorage | ( | ) |
Definition at line 100 of file profile-generator.cc.
References v8::internal::DeleteArray(), TemplateHashMapImpl< AllocationPolicy >::Next(), v8::internal::NULL, and TemplateHashMapImpl< AllocationPolicy >::Start().
const char * GetCopy | ( | const char * | src | ) |
Definition at line 109 of file profile-generator.cc.
References v8::internal::HashSequentialString(), HEAP, Vector< T >::New(), Vector< T >::start(), and OS::StrNCpy().
Referenced by BasicHeapEntriesAllocator::AllocateEntry().
const char * GetFormatted | ( | const char * | format, |
... | |||
) |
Definition at line 120 of file profile-generator.cc.
References StringsStorage::GetVFormatted().
Referenced by BasicHeapEntriesAllocator::AllocateEntry(), and StringsStorage::GetName().
|
inline |
Definition at line 36 of file profile-generator-inl.h.
References StringsStorage::GetName().
|
inline |
Definition at line 41 of file profile-generator-inl.h.
References ProfileGenerator::kAnonymousFunctionName.
const char * GetName | ( | String * | name | ) |
Definition at line 154 of file profile-generator.cc.
References v8::internal::DISALLOW_NULLS, HeapObject::GetHeap(), Heap::HashSeed(), v8::internal::HashSequentialString(), String::length(), v8::internal::Min(), v8::internal::ROBUST_STRING_TRAVERSAL, and String::ToCString().
Referenced by StringsStorage::GetFunctionName(), CpuProfilesCollection::GetName(), SnapshotFiller::SetNamedAutoIndexReference(), and V8HeapExplorer::TagGlobalObjects().
const char * GetName | ( | int | index | ) |
Definition at line 167 of file profile-generator.cc.
References StringsStorage::GetFormatted().
size_t GetUsedMemorySize | ( | ) | const |
Definition at line 172 of file profile-generator.cc.
References TemplateHashMapImpl< AllocationPolicy >::capacity(), TemplateHashMapImpl< AllocationPolicy >::Next(), v8::internal::NULL, and TemplateHashMapImpl< AllocationPolicy >::Start().
Referenced by HeapSnapshotsCollection::GetUsedMemorySize().
const char * GetVFormatted | ( | const char * | format, |
va_list | args | ||
) |
Definition at line 141 of file profile-generator.cc.
References v8::internal::DeleteArray(), v8::internal::HashSequentialString(), HEAP, Vector< T >::New(), Vector< T >::start(), and OS::VSNPrintF().
Referenced by StringsStorage::GetFormatted().