Lines Matching defs:time
12 import time
142 "import os, signal, time\n"
144 "for _ in range(999): time.sleep(0.01)"],
386 import time
409 before_time = time.monotonic()
411 after_time = time.monotonic()
420 import time
433 before_time = time.monotonic()
441 after_time = time.monotonic()
523 import time
566 import time
815 start_time = time.monotonic()
816 while time.monotonic() - start_time < 60.0:
817 # use up some virtual time by doing real work
835 start_time = time.monotonic()
836 while time.monotonic() - start_time < 60.0:
856 time.sleep(1)
1047 import os, threading, sys, time, signal
1054 time.sleep(1)
1216 times.append(time.perf_counter())
1226 time.sleep(1e-3)
1276 deadline = time.monotonic() + support.SHORT_TIMEOUT
1282 while len(sigs) < expected_sigs and time.monotonic() < deadline:
1283 time.sleep(1e-5)
1287 while len(sigs) < expected_sigs and time.monotonic() < deadline:
1288 time.sleep(1e-5)
1310 deadline = time.monotonic() + support.SHORT_TIMEOUT
1320 while len(sigs) < expected_sigs and time.monotonic() < deadline:
1321 time.sleep(1e-5)