Searched refs:timer_fd_ (Results 1 – 2 of 2) 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