Searched refs:time_left (Results 1 – 1 of 1) sorted by relevance
138 auto time_left = duration_cast<std::chrono::milliseconds>(deadline - now); in CalculatePollDuration() local139 if (time_left < 0ms) { in CalculatePollDuration()140 time_left = 0ms; in CalculatePollDuration()144 result = time_left; in CalculatePollDuration()146 result = std::min(*result, time_left); in CalculatePollDuration()