Searched refs:HeapProfileTable (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dheap-profile-table.cc98 const char HeapProfileTable::kFileExt[] = ".heap";
104 /*static*/ const int HeapProfileTable::kMaxStackDepth;
117 static bool ByAllocatedSpace(HeapProfileTable::Stats* a,
118 HeapProfileTable::Stats* b) {
125 HeapProfileTable::HeapProfileTable(Allocator alloc, DeAllocator dealloc) function in class:HeapProfileTable
146 HeapProfileTable::~HeapProfileTable() {
157 void HeapProfileTable::DeallocateAllocationMap(AllocationMap* allocation) {
164 void HeapProfileTable
[all...]
H A Dheap-profiler.cc172 static HeapProfileTable* heap_profile = NULL; // the heap profile table
227 filename_prefix, dump_count, HeapProfileTable::kFileExt);
263 const HeapProfileTable::Stats& total = heap_profile->total();
302 void* stack[HeapProfileTable::kMaxStackDepth];
303 int depth = HeapProfileTable::GetCallerStackTrace(skip_count + 1, stack);
425 MemoryRegionMap::Init(HeapProfileTable::kMaxStackDepth);
444 heap_profile = new(ProfilerMalloc(sizeof(HeapProfileTable)))
445 HeapProfileTable(ProfilerMalloc, ProfilerFree);
493 heap_profile->~HeapProfileTable();
542 HeapProfileTable
[all...]
H A Dheap-profile-table.h49 class HeapProfileTable { class
97 HeapProfileTable(Allocator alloc, DeAllocator dealloc);
98 ~HeapProfileTable();
310 const void* ptr, AllocValue* v, HeapProfileTable* heap_profile);
367 DISALLOW_COPY_AND_ASSIGN(HeapProfileTable);
370 class HeapProfileTable::Snapshot {
392 friend class HeapProfileTable;
H A Dheap-checker.cc269 static HeapProfileTable* heap_profile = NULL;
578 void* stack[HeapProfileTable::kMaxStackDepth];
579 int depth = HeapProfileTable::GetCallerStackTrace(0, stack);
731 const void* ptr, const HeapProfileTable::AllocInfo& info) {
742 const void* ptr, const HeapProfileTable::AllocInfo& info) {
1363 // HeapProfileTable::FindInsideAlloc to handle both pointers to
1477 HeapProfileTable::AllocInfo alloc;
1562 strlen(HeapProfileTable::kFileExt) + 1;
1566 HeapProfileTable::kFileExt);
1592 const HeapProfileTable
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dheap-profile-table.cc101 const char HeapProfileTable::kFileExt[] = ".heap";
108 /*static*/ const int HeapProfileTable::kMaxStackDepth;
122 static bool ByAllocatedSpace(HeapProfileTable::Stats* a,
123 HeapProfileTable::Stats* b) {
130 HeapProfileTable::HeapProfileTable(Allocator alloc, function in class:HeapProfileTable
153 HeapProfileTable::~HeapProfileTable() {
172 HeapProfileTable::Bucket* HeapProfileTable
[all...]
H A Ddeep-heap-profile.h11 // HeapProfileTable::FillOrderedProfile(), but dumps directory to files.
17 // DeepHeapProfile::DumpOrderedProfile() uses data stored in HeapProfileTable.
27 // uint64 for addresses, and HeapProfileTable::DumpOrderedProfile uses int
56 // HeapProfileTable.
58 // |heap_profile| is a pointer to HeapProfileTable. DeepHeapProfile reads
63 DeepHeapProfile(HeapProfileTable* heap_profile,
79 typedef HeapProfileTable::Stats Stats;
80 typedef HeapProfileTable::Bucket Bucket;
81 typedef HeapProfileTable::AllocValue AllocValue;
82 typedef HeapProfileTable
[all...]
H A Dheap-profiler.cc222 static HeapProfileTable* heap_profile = NULL; // the heap profile table
228 HeapProfileTable::GetCallerStackTrace;
244 HeapProfileTable::Stats const stats = heap_profile->total();
284 filename_prefix, getpid(), dump_count, HeapProfileTable::kFileExt);
334 const HeapProfileTable::Stats& total = heap_profile->total();
381 void* stack[HeapProfileTable::kMaxStackDepth];
504 MemoryRegionMap::Init(HeapProfileTable::kMaxStackDepth,
524 heap_profile = new(ProfilerMalloc(sizeof(HeapProfileTable)))
525 HeapProfileTable(ProfilerMalloc, ProfilerFree, FLAGS_mmap_profile);
609 heap_profile->~HeapProfileTable();
[all...]
H A Dheap-profile-table.h54 class HeapProfileTable { class
100 HeapProfileTable(Allocator alloc, DeAllocator dealloc, bool profile_mmap);
101 ~HeapProfileTable();
222 // Note that this functionality cannot be used if the HeapProfileTable is
470 DISALLOW_COPY_AND_ASSIGN(HeapProfileTable);
473 class HeapProfileTable::Snapshot {
495 friend class HeapProfileTable;
H A Dheap-checker.cc269 static HeapProfileTable* heap_profile = NULL;
578 void* stack[HeapProfileTable::kMaxStackDepth];
579 int depth = HeapProfileTable::GetCallerStackTrace(0, stack);
731 const void* ptr, const HeapProfileTable::AllocInfo& info) {
742 const void* ptr, const HeapProfileTable::AllocInfo& info) {
1363 // HeapProfileTable::FindInsideAlloc to handle both pointers to
1477 HeapProfileTable::AllocInfo alloc;
1562 strlen(HeapProfileTable::kFileExt) + 1;
1566 HeapProfileTable::kFileExt);
1592 const HeapProfileTable
[all...]
H A Ddeep-heap-profile.cc301 DeepHeapProfile::DeepHeapProfile(HeapProfileTable* heap_profile,
603 HeapProfileTable::Allocator alloc,
604 HeapProfileTable::DeAllocator dealloc)
744 // This hash function is from HeapProfileTable::GetBucket.
753 // This hash function is from HeapProfileTable::GetBucket.
1146 DeepHeapProfile::DeepHeapProfile(HeapProfileTable* heap_profile,

Completed in 2611 milliseconds