Home
last modified time | relevance | path

Searched refs:HeapprofdMode (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc123 HeapprofdProducer::HeapprofdProducer(HeapprofdMode mode, in HeapprofdProducer()
130 if (mode == HeapprofdMode::kCentral) { in HeapprofdProducer()
139 if (mode_ == HeapprofdMode::kCentral && bool(listening_socket_)) in ~HeapprofdProducer()
168 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in AdoptTargetProcessSocket()
181 mode_ == HeapprofdMode::kCentral ? "central" : "child"); in OnConnect()
193 if (mode_ == HeapprofdMode::kChild) { in OnDisconnect()
256 if (mode_ == HeapprofdMode::kChild) in Restart()
259 HeapprofdMode mode = mode_; in Restart()
271 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in ScheduleActiveDataSourceWatchdog()
287 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in ActiveDataSourceWatchdogCheck()
[all …]
Dheapprofd_producer.h64 enum class HeapprofdMode { kCentral, kChild }; enum
105 HeapprofdProducer(HeapprofdMode mode, base::TaskRunner* task_runner);
230 const HeapprofdMode mode_;
Dmain.cc130 HeapprofdProducer producer(HeapprofdMode::kChild, &task_runner); in StartChildHeapprofd()
146 HeapprofdProducer producer(HeapprofdMode::kCentral, &task_runner); in StartCentralHeapprofd()
Dheapprofd_producer_unittest.cc71 HeapprofdProducer producer(HeapprofdMode::kCentral, &task_runner); in TEST()
Dheapprofd_end_to_end_test.cc62 new HeapprofdProducer(HeapprofdMode::kCentral, task_runner)); in Initialize()