Searched refs:timers_ (Results 1 – 2 of 2) sorted by relevance
51 timers_.push_back(std::move(timer)); in processNewTimers()52 std::push_heap(timers_.begin(), timers_.end(), timerOrder); in processNewTimers()60 while (!timers_.empty() && timers_[0].next <= now) { in runTimers()61 std::pop_heap(timers_.begin(), timers_.end(), timerOrder); in runTimers()62 auto& current = *timers_.rbegin(); in runTimers()67 std::push_heap(timers_.begin(), timers_.end(), timerOrder); in runTimers()69 timers_.pop_back(); in runTimers()72 if (timers_.empty()) return -1; in runTimers()73 auto& next = *timers_.begin(); in runTimers()
113 std::vector<Timer> timers_; variable