Home
last modified time | relevance | path

Searched refs:heap_intervals (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/profiling/memory/
Dclient_api.cc525 uint64_t heap_intervals[perfetto::base::ArraySize(g_heaps)] = {}; in AHeapProfile_initSession() local
528 heap_intervals[i] = MaybeToggleHeap(i, client.get()); in AHeapProfile_initSession()
543 if (heap_intervals[i]) { in AHeapProfile_initSession()
544 heap.sampler.SetSamplingInterval(heap_intervals[i]); in AHeapProfile_initSession()
Dheapprofd_producer.cc156 std::vector<uint64_t> heap_intervals = in HeapprofdConfigToClientConfiguration() local
162 if (heap_intervals.empty()) { in HeapprofdConfigToClientConfiguration()
163 heap_intervals.assign(heaps.size(), in HeapprofdConfigToClientConfiguration()
166 if (heap_intervals.size() != heaps.size()) { in HeapprofdConfigToClientConfiguration()
170 if (std::find(heap_intervals.begin(), heap_intervals.end(), 0u) != in HeapprofdConfigToClientConfiguration()
171 heap_intervals.end()) { in HeapprofdConfigToClientConfiguration()
182 heap_intervals.insert(heap_intervals.end(), exclude_heaps.size(), 0u); in HeapprofdConfigToClientConfiguration()
190 const uint64_t interval = heap_intervals[i]; in HeapprofdConfigToClientConfiguration()