Searched refs:time_elapsed (Results 1 – 7 of 7) sorted by relevance
40 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in WaitForCondition() local41 if (time_elapsed > timeout_ms) return false; in WaitForCondition()
52 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in Attach() local53 if (!WaitForFile(*loopdev, timeout_ms - time_elapsed)) { in Attach()
50 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in PollForFile() local51 if (time_elapsed > relative_timeout) return false; in PollForFile()64 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in PollForFileDeleted() local65 if (time_elapsed > relative_timeout) return false; in PollForFileDeleted()
199 auto time_elapsed = duration_cast<milliseconds>(now - start_time); in Poll() local200 if (time_elapsed > *relative_timeout) return; in Poll()202 auto remaining_timeout = *relative_timeout - time_elapsed; in Poll()
318 auto time_elapsed = in PollIn() local320 uint64_t millis = time_elapsed.count(); in PollIn()
104 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in WaitForFile() local105 if (time_elapsed > relative_timeout) return false; in WaitForFile()
167 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in UpdateTimeSpec() local168 if (time_elapsed >= relative_timeout) { in UpdateTimeSpec()171 auto remaining_timeout = relative_timeout - time_elapsed; in UpdateTimeSpec()