summaryrefslogtreecommitdiff
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-04-29 03:01:20 +0200
committerVictor Stinner <victor.stinner@gmail.com>2012-04-29 03:01:20 +0200
commitb62f6a880d5aa2645aa8d247ee7046232b72e33c (patch)
treeb2a336dd79261ea85a1fb76bc97a012e05f48af0 /Python/getcompiler.c
parenta7e20506b8595c017e6c9ecd28a04031dfb2fb7e (diff)
downloadcpython-b62f6a880d5aa2645aa8d247ee7046232b72e33c.tar.gz
Issue #14428: Use the new time.perf_counter() and time.process_time() functions
* Replace "time.clock on windows, or time.time" with time.perf_counter() * profile module: only use time.process_time() instead of trying different functions providing the process time * timeit module: use time.perf_counter() by default, time.time() and time.clock() can still be used using --time and --clock options * pybench program: use time.perf_counter() by default, add support for the new time.process_time() and time.perf_counter() functions, but stay backward compatible. Use also time.get_clock_info() to display information of the timer.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions