time.time() now uses clock_gettime(CLOCK_REALTIME) if available
clock_gettime(CLOCK_REALTIME) has a better resolution than gettimeofday(). time.time() falls back on gettimeofday() (and then on other functions) on error.
V
Victor Stinner committed
ad95c2d25c5fe5c4c88b73de2c60722ba56572e9
Parent: 74eb6c0