Home
last modified time | relevance | path

Searched refs:ThreadTaskRunner (Results 1 – 10 of 10) sorted by relevance

/external/perfetto/src/base/
Dthread_task_runner.cc38 ThreadTaskRunner::ThreadTaskRunner(ThreadTaskRunner&& other) noexcept in ThreadTaskRunner() function in perfetto::base::ThreadTaskRunner
43 ThreadTaskRunner& ThreadTaskRunner::operator=(ThreadTaskRunner&& other) { in operator =()
44 this->~ThreadTaskRunner(); in operator =()
45 new (this) ThreadTaskRunner(std::move(other)); in operator =()
49 ThreadTaskRunner::~ThreadTaskRunner() { in ~ThreadTaskRunner()
60 ThreadTaskRunner::ThreadTaskRunner(const std::string& name) : name_(name) { in ThreadTaskRunner() function in perfetto::base::ThreadTaskRunner
75 thread_ = std::thread(&ThreadTaskRunner::RunTaskThread, this, in ThreadTaskRunner()
82 void ThreadTaskRunner::RunTaskThread( in RunTaskThread()
93 void ThreadTaskRunner::PostTaskAndWaitForTesting(std::function<void()> fn) { in PostTaskAndWaitForTesting()
109 uint64_t ThreadTaskRunner::GetThreadCPUTimeNsForTesting() { in GetThreadCPUTimeNsForTesting()
[all …]
Dthread_task_runner_unittest.cc34 ThreadTaskRunner task_runner = ThreadTaskRunner::CreateAndStart(); in TEST_F()
43 ThreadTaskRunner task_runner = ThreadTaskRunner::CreateAndStart(); in TEST_F()
64 ThreadTaskRunner task_runner = ThreadTaskRunner::CreateAndStart(); in TEST_F()
76 ThreadTaskRunner task_runner2 = std::move(task_runner); in TEST_F()
78 task_runner.~ThreadTaskRunner(); in TEST_F()
118 ThreadTaskRunner task_runner = ThreadTaskRunner::CreateAndStart(); in TEST_F()
/external/perfetto/include/perfetto/ext/base/
Dthread_task_runner.h35 class PERFETTO_EXPORT ThreadTaskRunner : public TaskRunner {
37 static ThreadTaskRunner CreateAndStart(const std::string& name = "") {
38 return ThreadTaskRunner(name);
41 ThreadTaskRunner(const ThreadTaskRunner&) = delete;
42 ThreadTaskRunner& operator=(const ThreadTaskRunner&) = delete;
44 ThreadTaskRunner(ThreadTaskRunner&&) noexcept;
45 ThreadTaskRunner& operator=(ThreadTaskRunner&&);
46 ~ThreadTaskRunner() override;
74 explicit ThreadTaskRunner(const std::string& name);
/external/perfetto/test/
Dtest_helper.h67 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.svc"); in Start()
89 base::ThreadTaskRunner* runner() { return runner_ ? &*runner_ : nullptr; } in runner()
92 base::Optional<base::ThreadTaskRunner> runner_; // Keep first.
121 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.prd.probes"); in Connect()
129 base::Optional<base::ThreadTaskRunner> runner_; // Keep first.
146 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.prd.fake"); in FakeProducerThread()
165 base::ThreadTaskRunner* runner() { return runner_ ? &*runner_ : nullptr; } in runner()
186 base::Optional<base::ThreadTaskRunner> runner_; // Keep first.
269 base::ThreadTaskRunner* service_thread() { return service_thread_.runner(); } in service_thread()
270 base::ThreadTaskRunner* producer_thread() { in producer_thread()
Dend_to_end_shared_memory_fuzzer.cc126 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.prd.fake"); in Connect()
135 base::Optional<base::ThreadTaskRunner> runner_; // Keep first.
/external/perfetto/src/tracing/
Dplatform_posix.cc76 new base::ThreadTaskRunner(base::ThreadTaskRunner::CreateAndStart())); in CreateTaskRunner()
/external/perfetto/src/profiling/memory/
Dunwinding.h84 UnwindingWorker(Delegate* delegate, base::ThreadTaskRunner thread_task_runner) in UnwindingWorker()
154 base::ThreadTaskRunner thread_task_runner_;
Dheapprofd_producer.cc80 base::ThreadTaskRunner::CreateAndStart("heapprofdunwind")); in MakeUnwindingWorkers()
/external/perfetto/src/traced/probes/
Dkmem_activity_trigger.h61 base::ThreadTaskRunner task_runner_;
Dkmem_activity_trigger.cc38 : task_runner_(base::ThreadTaskRunner::CreateAndStart()) { in KmemActivityTrigger()