Lines Matching refs:time
41 import time
205 # If ECONNREFUSED on SmartOS, retry the test one time.
453 self.start_time = time.time()
489 elapsed = time.time() - self.start_time
712 # Compute the end time - if the process crosses this limit we
715 else: end_time = time.time() + timeout
723 if (not end_time is None) and (time.time() >= end_time):
730 time.sleep(sleep_time)
749 # file open for a short time only, so yield and try again; it'll succeed.
751 time.sleep(0)
1391 result.add_option("--time", help="Print timing information after running",
1415 help='Send SIGABRT instead of SIGTERM to kill processes that time out',
1526 return time.strftime("%M:%S.", time.gmtime(d)) + ("%03i" % millis)
1768 start = time.time()
1771 duration = time.time() - start
1776 if options.time:
1780 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(duration))