Home
last modified time | relevance | path

Searched refs:timeout_in_us (Results 1 – 2 of 2) sorted by relevance

/external/chromium/net/tools/flip_server/
Depoll_server.cc631 void EpollServer::WaitForEventsAndCallHandleEvents(int64 timeout_in_us, in WaitForEventsAndCallHandleEvents() argument
634 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()
Depoll_server.h465 void set_timeout_in_us(int64 timeout_in_us) { in set_timeout_in_us() argument
466 timeout_in_us_ = timeout_in_us; in set_timeout_in_us()
473 int timeout_in_us() const { return timeout_in_us_; } in timeout_in_us() function
641 virtual void WaitForEventsAndCallHandleEvents(int64 timeout_in_us,