Commit 33616b55 authored by Michael Büsch's avatar Michael Büsch

util: Do not use time.clock

It's not wall-time
Signed-off-by: Michael Büsch's avatarMichael Buesch <>
parent f4c31e58
......@@ -54,7 +54,7 @@ def fileExists(filename):
return True
# Monotonic time. Returns a float second count.
monotonic_time = getattr(time, "monotonic", time.clock)
monotonic_time = getattr(time, "monotonic", time.time)
class TimeLimit(object):
"""Generic timeout helper.
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