Searched refs:time_left (Results 1 – 3 of 3) sorted by relevance
128 auto time_left = duration_cast<std::chrono::milliseconds>(deadline - now); in CalculatePollDuration() local129 if (time_left < 0ms) { in CalculatePollDuration()130 time_left = 0ms; in CalculatePollDuration()134 result = time_left; in CalculatePollDuration()136 result = std::min(*result, time_left); in CalculatePollDuration()
160 auto time_left = [&end]() { return end - std::chrono::steady_clock::now(); }; in debuggerd_trigger_dump() local161 auto set_timeout = [timeout_ms, &time_left](int sockfd) { in debuggerd_trigger_dump()166 auto remaining = time_left(); in debuggerd_trigger_dump()286 auto remaining_ms = std::chrono::duration_cast<std::chrono::milliseconds>(time_left()).count(); in debuggerd_trigger_dump()
653 time_left = start_time + max_wait_time - time.time()654 if time_left <= 0:655 print "timeout waiting for event, continue", time_left657 read_r = read_poll.poll(time_left * 1000.0)661 print "poll timeout waiting for event, continue", time_left