Home
last modified time | relevance | path

Searched refs:heap_profile (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/
Dheap-profiler.cc222 static HeapProfileTable* heap_profile = NULL; // the heap profile table variable
244 HeapProfileTable::Stats const stats = heap_profile->total(); in DoGetHeapProfileLocked()
246 bytes_written = heap_profile->FillOrderedProfile(buf, buflen - 1); in DoGetHeapProfileLocked()
249 RAW_DCHECK(stats.Equivalent(heap_profile->total()), ""); in DoGetHeapProfileLocked()
319 heap_profile->DumpTypeStatistics(file_name); in DumpProfileLocked()
334 const HeapProfileTable::Stats& total = heap_profile->total(); in MaybeDumpProfileLocked()
385 heap_profile->RecordAlloc(ptr, bytes, depth, stack); in RecordAlloc()
394 heap_profile->RecordFree(ptr); in RecordFree()
524 heap_profile = new(ProfilerMalloc(sizeof(HeapProfileTable))) in HeapProfilerStart()
536 DeepHeapProfile(heap_profile, prefix, DeepHeapProfile::PageFrameType( in HeapProfilerStart()
[all …]
Dheap-checker.cc269 static HeapProfileTable* heap_profile = NULL; variable
588 heap_profile->RecordAlloc(ptr, size, depth, stack); in NewHook()
590 heap_profile->MarkAsIgnored(ptr); in NewHook()
602 if (heap_checker_on) heap_profile->RecordFree(ptr); in DeleteHook()
1112 if (!(heap_profile->FindAlloc(ptr, &object_size) && in IgnoreNonThreadLiveObjectsLocked()
1125 heap_profile->IterateAllocs(MakeIgnoredObjectsLiveCallbackLocked); in IgnoreNonThreadLiveObjectsLocked()
1134 heap_profile->IterateAllocs(MakeDisabledLiveCallbackLocked); in IgnoreNonThreadLiveObjectsLocked()
1397 if (place == MUST_BE_ON_HEAP && heap_profile->MarkAsLive(object)) { in IgnoreLiveObjectsLocked()
1466 heap_profile->MarkAsLive(ptr)) { in IgnoreLiveObjectsLocked()
1478 bool r = heap_profile->FindAllocDetails(ptr, &alloc); in IgnoreLiveObjectsLocked()
[all …]
Ddeep-heap-profile.cc302 DeepHeapProfile::DeepHeapProfile(HeapProfileTable* heap_profile, in DeepHeapProfile() argument
311 deep_table_(kHashTableSize, heap_profile->alloc_, heap_profile->dealloc_), in DeepHeapProfile()
313 heap_profile_(heap_profile) { in DeepHeapProfile()
1147 DeepHeapProfile::DeepHeapProfile(HeapProfileTable* heap_profile, in DeepHeapProfile() argument
1150 : heap_profile_(heap_profile) { in DeepHeapProfile()
Ddeep-heap-profile.h63 DeepHeapProfile(HeapProfileTable* heap_profile,
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dheap-profiler.cc172 static HeapProfileTable* heap_profile = NULL; // the heap profile table variable
189 heap_profile->RefreshMMapData(); in DoGetHeapProfileLocked()
191 bytes_written = heap_profile->FillOrderedProfile(buf, buflen - 1); in DoGetHeapProfileLocked()
193 heap_profile->ClearMMapData(); in DoGetHeapProfileLocked()
263 const HeapProfileTable::Stats& total = heap_profile->total(); in MaybeDumpProfileLocked()
306 heap_profile->RecordAlloc(ptr, bytes, depth, stack); in RecordAlloc()
315 heap_profile->RecordFree(ptr); in RecordFree()
444 heap_profile = new(ProfilerMalloc(sizeof(HeapProfileTable))) in HeapProfilerStart()
493 heap_profile->~HeapProfileTable(); in HeapProfilerStop()
494 ProfilerFree(heap_profile); in HeapProfilerStop()
[all …]
Dheap-checker.cc269 static HeapProfileTable* heap_profile = NULL; variable
588 heap_profile->RecordAlloc(ptr, size, depth, stack); in NewHook()
590 heap_profile->MarkAsIgnored(ptr); in NewHook()
602 if (heap_checker_on) heap_profile->RecordFree(ptr); in DeleteHook()
1112 if (!(heap_profile->FindAlloc(ptr, &object_size) && in IgnoreNonThreadLiveObjectsLocked()
1125 heap_profile->IterateAllocs(MakeIgnoredObjectsLiveCallbackLocked); in IgnoreNonThreadLiveObjectsLocked()
1134 heap_profile->IterateAllocs(MakeDisabledLiveCallbackLocked); in IgnoreNonThreadLiveObjectsLocked()
1397 if (place == MUST_BE_ON_HEAP && heap_profile->MarkAsLive(object)) { in IgnoreLiveObjectsLocked()
1466 heap_profile->MarkAsLive(ptr)) { in IgnoreLiveObjectsLocked()
1478 if (!heap_profile->FindAllocDetails(ptr, &alloc)) { in IgnoreLiveObjectsLocked()
[all …]
Dheap-profile-table.h310 const void* ptr, AllocValue* v, HeapProfileTable* heap_profile);
Dheap-profile-table.cc478 const void* ptr, AllocValue* v, HeapProfileTable* heap_profile) { in ZeroBucketCountsIterator() argument