Searched refs:timer_fd_ (Results 1 – 4 of 4) sorted by relevance
23 timer_fd_ = -1; in PeriodicTimer()32 timer_fd_ = timerfd_create(CLOCK_MONOTONIC, 0); in Start()33 CHECK(timer_fd_ >= 0); in Start()41 CHECK(timerfd_settime(timer_fd_, 0, &ts, nullptr) == 0); in Start()45 if (timer_fd_ < 0) in Stop()47 close(timer_fd_); in Stop()48 timer_fd_ = -1; in Stop()52 if (timer_fd_ < 0) in Wait()55 int res = read(timer_fd_, &stub, sizeof(stub)); in Wait()
29 int timer_fd_; variable
80 timer_fd_ = CreateTimerFd(args_.period_ms); in Start()81 if (timer_fd_) { in Start()84 *timer_fd_, in Start()91 if (!timer_fd_) in Start()101 PERFETTO_DCHECK(!timer_fd_); in PostNextTask()120 if (thiz->timer_fd_) { in RunTaskAndPostNext()129 auto rsize = base::Read(*thiz->timer_fd_, &ignored, sizeof(&ignored)); in RunTaskAndPostNext()139 if (!thiz->timer_fd_) { in RunTaskAndPostNext()159 if (!timer_fd_) in ResetTimerFd()161 task_runner_->RemoveFileDescriptorWatch(*timer_fd_); in ResetTimerFd()[all …]
66 base::PlatformHandle timer_fd_for_testing() { return *timer_fd_; } in timer_fd_for_testing()77 base::ScopedPlatformHandle timer_fd_; variable