Searched refs:timeout_in_us (Results 1 – 4 of 4) sorted by relevance
631 void EpollServer::WaitForEventsAndCallHandleEvents(int64 timeout_in_us, in WaitForEventsAndCallHandleEvents() argument634 if (timeout_in_us == 0 || ready_list_.lh_first != NULL) { in WaitForEventsAndCallHandleEvents()636 timeout_in_us = 0; in WaitForEventsAndCallHandleEvents()637 } else if (timeout_in_us < 0) { in WaitForEventsAndCallHandleEvents()638 LOG(INFO) << "Negative epoll timeout: " << timeout_in_us in WaitForEventsAndCallHandleEvents()643 timeout_in_us = -1000; in WaitForEventsAndCallHandleEvents()646 if (timeout_in_us < 1000) { in WaitForEventsAndCallHandleEvents()647 timeout_in_us = 1000; in WaitForEventsAndCallHandleEvents()650 const int timeout_in_ms = timeout_in_us / 1000; in WaitForEventsAndCallHandleEvents()
464 void set_timeout_in_us(int64 timeout_in_us) { in set_timeout_in_us() argument465 timeout_in_us_ = timeout_in_us; in set_timeout_in_us()472 int timeout_in_us() const { return timeout_in_us_; } in timeout_in_us() function636 virtual void WaitForEventsAndCallHandleEvents(int64 timeout_in_us,
417 int64 old_timeout_us = epoll_server()->timeout_in_us(); in WaitForResponseForMs()438 int64 old_timeout_us = epoll_server()->timeout_in_us(); in WaitForInitialResponseForMs()
85 MOCK_METHOD2(RegisterAlarm, void(int64 timeout_in_us,