Searched refs:ThreadTaskRunner (Results 1 – 10 of 10) sorted by relevance
38 ThreadTaskRunner::ThreadTaskRunner(ThreadTaskRunner&& other) noexcept in ThreadTaskRunner() function in perfetto::base::ThreadTaskRunner43 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::ThreadTaskRunner75 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 …]
34 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()
35 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);
67 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()
126 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.prd.fake"); in Connect()135 base::Optional<base::ThreadTaskRunner> runner_; // Keep first.
76 new base::ThreadTaskRunner(base::ThreadTaskRunner::CreateAndStart())); in CreateTaskRunner()
84 UnwindingWorker(Delegate* delegate, base::ThreadTaskRunner thread_task_runner) in UnwindingWorker()154 base::ThreadTaskRunner thread_task_runner_;
80 base::ThreadTaskRunner::CreateAndStart("heapprofdunwind")); in MakeUnwindingWorkers()
61 base::ThreadTaskRunner task_runner_;
38 : task_runner_(base::ThreadTaskRunner::CreateAndStart()) { in KmemActivityTrigger()