Home
last modified time | relevance | path

Searched refs:weak_producer (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/profiling/memory/
Djava_hprof_producer.cc45 auto weak_producer = weak_factory_.GetWeakPtr(); in DoContinuousDump() local
47 [weak_producer, id, dump_interval] { in DoContinuousDump()
48 if (!weak_producer) in DoContinuousDump()
50 weak_producer->DoContinuousDump(id, dump_interval); in DoContinuousDump()
137 auto weak_producer = weak_factory_.GetWeakPtr(); in StartDataSource() local
139 [weak_producer, id, dump_interval] { in StartDataSource()
140 if (!weak_producer) in StartDataSource()
142 weak_producer->DoContinuousDump(id, dump_interval); in StartDataSource()
215 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect() local
217 return task_runner_->PostTask([weak_producer] { in OnDisconnect()
[all …]
Dheapprofd_producer.cc266 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect() local
268 return task_runner_->PostTask([weak_producer] { in OnDisconnect()
269 if (!weak_producer) in OnDisconnect()
271 weak_producer->Restart(); in OnDisconnect()
277 [weak_producer] { in OnDisconnect()
278 if (!weak_producer) in OnDisconnect()
280 weak_producer->ConnectService(); in OnDisconnect()
350 auto weak_producer = weak_factory_.GetWeakPtr(); in ActiveDataSourceWatchdogCheck() local
352 [weak_producer]() { in ActiveDataSourceWatchdogCheck()
353 if (!weak_producer) in ActiveDataSourceWatchdogCheck()
[all …]
/external/perfetto/src/profiling/perf/
Dperf_producer.cc864 auto weak_producer = weak_factory_.GetWeakPtr(); in PostFinishDataSourceStop() local
865 task_runner_->PostTask([weak_producer, ds_id] { in PostFinishDataSourceStop()
866 if (weak_producer) in PostFinishDataSourceStop()
867 weak_producer->FinishDataSourceStop(ds_id); in PostFinishDataSourceStop()
1001 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect() local
1003 return task_runner_->PostTask([weak_producer] { in OnDisconnect()
1004 if (weak_producer) in OnDisconnect()
1005 weak_producer->Restart(); in OnDisconnect()
1011 [weak_producer] { in OnDisconnect()
1012 if (weak_producer) in OnDisconnect()
[all …]