Lines Matching refs:ThreadTaskRunner
38 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()
117 void ThreadTaskRunner::PostTask(std::function<void()> task) { in PostTask()
121 void ThreadTaskRunner::PostDelayedTask(std::function<void()> task, in PostDelayedTask()
126 void ThreadTaskRunner::AddFileDescriptorWatch( in AddFileDescriptorWatch()
132 void ThreadTaskRunner::RemoveFileDescriptorWatch(PlatformHandle handle) { in RemoveFileDescriptorWatch()
136 bool ThreadTaskRunner::RunsTasksOnCurrentThread() const { in RunsTasksOnCurrentThread()