Commit f9edd737 authored by Denis Bilenko's avatar Denis Bilenko

avoid timeout in bench_sleep0.py

parent 532c9290
......@@ -13,7 +13,7 @@ while True:
sleep(0)
user_time_x, system_time_x = os.times()[:2]
delta = time() - start
if delta > 1:
if delta > 0.2:
break
N *= 10
user_time_x -= user_time
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment