def monotonic(): return clock_gettime(CLOCK_MONOTONIC)
def test_clock_monotonic(self): from __pypy__ import time a = time.clock_gettime(time.CLOCK_MONOTONIC) b = time.clock_gettime(time.CLOCK_MONOTONIC) assert a <= b
def high_res_time(): return time.clock_gettime(time.CLOCK_MONOTONIC_RAW)
def test_clock_realtime(self): from __pypy__ import time res = time.clock_gettime(time.CLOCK_REALTIME) assert isinstance(res, float)