Home
last modified time | relevance | path

Searched refs:SamplingHeapProfiler (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.cc60 SamplingHeapProfiler::RecordAlloc(address, size, kSkipBaseAllocatorFrames); in AllocFn()
70 SamplingHeapProfiler::RecordAlloc(address, n * size, in AllocZeroInitializedFn()
81 SamplingHeapProfiler::RecordAlloc(address, size, kSkipBaseAllocatorFrames); in AllocAlignedFn()
90 SamplingHeapProfiler::RecordFree(address); in ReallocFn()
92 SamplingHeapProfiler::RecordAlloc(address, size, kSkipBaseAllocatorFrames); in ReallocFn()
97 SamplingHeapProfiler::RecordFree(address); in FreeFn()
115 SamplingHeapProfiler::RecordAlloc(results[i], size, in BatchMallocFn()
126 SamplingHeapProfiler::RecordFree(to_be_freed[i]); in BatchFreeFn()
135 SamplingHeapProfiler::RecordFree(address); in FreeDefiniteSizeFn()
153 SamplingHeapProfiler::RecordAlloc(address, size); in PartitionAllocHook()
[all …]
Dsampling_heap_profiler.h30 class BASE_EXPORT SamplingHeapProfiler {
42 friend class SamplingHeapProfiler;
83 static SamplingHeapProfiler* GetInstance();
86 SamplingHeapProfiler();
87 ~SamplingHeapProfiler() = delete;
110 static SamplingHeapProfiler* instance_;
112 friend class base::NoDestructor<SamplingHeapProfiler>;
114 DISALLOW_COPY_AND_ASSIGN(SamplingHeapProfiler);
Dsampling_heap_profiler_unittest.cc25 class SamplesCollector : public SamplingHeapProfiler::SamplesObserver {
50 SamplingHeapProfiler::InitTLSSlot(); in TEST_F()
52 SamplingHeapProfiler* profiler = SamplingHeapProfiler::GetInstance(); in TEST_F()
101 SamplingHeapProfiler::InitTLSSlot(); in CheckAllocationPattern()
102 SamplingHeapProfiler* profiler = SamplingHeapProfiler::GetInstance(); in CheckAllocationPattern()
111 std::vector<SamplingHeapProfiler::Sample> samples = in CheckAllocationPattern()
/external/libchrome/base/threading/
Dthread_local_storage.h31 class SamplingHeapProfiler; variable
171 friend class base::SamplingHeapProfiler;