https://github.com/python/cpython
Revision ad95c2d25c5fe5c4c88b73de2c60722ba56572e9 authored by Victor Stinner on 28 March 2012, 00:54:15 UTC, committed by Victor Stinner on 28 March 2012, 00:54:15 UTC
clock_gettime(CLOCK_REALTIME) has a better resolution than gettimeofday().
time.time() falls back on gettimeofday() (and then on other functions) on
error.
1 parent 74eb6c0
History
Tip revision: ad95c2d25c5fe5c4c88b73de2c60722ba56572e9 authored by Victor Stinner on 28 March 2012, 00:54:15 UTC
time.time() now uses clock_gettime(CLOCK_REALTIME) if available
Tip revision: ad95c2d
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 602 bytes
.gitignore -rw-r--r-- 651 bytes
.hgeol -rw-r--r-- 692 bytes
.hgignore -rw-r--r-- 1007 bytes
.hgtags -rw-r--r-- 4.7 KB
LICENSE -rw-r--r-- 14.5 KB
Makefile.pre.in -rw-r--r-- 47.1 KB
README -rw-r--r-- 6.3 KB
config.guess -rwxr-xr-x 43.8 KB
config.sub -rwxr-xr-x 34.6 KB
configure -rwxr-xr-x 410.9 KB
configure.ac -rw-r--r-- 126.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 39.1 KB
setup.py -rw-r--r-- 86.4 KB

README

back to top