Searched refs:HeapSampler (Results 1 – 4 of 4) sorted by relevance
28 size_t HeapSampler::NextGeoDistRandSample() { in NextGeoDistRandSample()40 size_t HeapSampler::PickAndAdjustNextSample(size_t sample_adjust_bytes) { in PickAndAdjustNextSample()64 void HeapSampler::ReportSample(art::mirror::Object* obj, size_t allocation_size) { in ReportSample()77 size_t HeapSampler::GetSampleOffset(size_t alloc_size, in GetSampleOffset()121 void HeapSampler::AdjustSampleOffset(size_t adjustment) { in AdjustSampleOffset()134 bool HeapSampler::IsEnabled() { in IsEnabled()138 int HeapSampler::GetSamplingInterval() { in GetSamplingInterval()142 void HeapSampler::SetSamplingInterval(int sampling_interval) { in SetSamplingInterval()
27 class HeapSampler {29 HeapSampler() : rng_(/*seed=*/std::minstd_rand::default_seed), in HeapSampler() function
895 HeapSampler& GetHeapSampler() { in GetHeapSampler()1686 HeapSampler heap_sampler_;
119 HeapSampler* sampler_self = reinterpret_cast<HeapSampler*>(enable_ptr); in EnableHeapSamplerCallback()136 HeapSampler* sampler_self = reinterpret_cast<HeapSampler*>(disable_ptr); in DisableHeapSamplerCallback()4347 HeapSampler& prof_heap_sampler = GetHeapSampler(); in JHPCheckNonTlabSampleAllocation()