Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r84682:0bc87c87cae3
Date: 2016-05-24 23:27 -0700
http://bitbucket.org/pypy/pypy/changeset/0bc87c87cae3/
Log: kill dead code
diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py
--- a/pypy/module/time/interp_time.py
+++ b/pypy/module/time/interp_time.py
@@ -763,9 +763,6 @@
if _WIN:
# untested so far
def process_time(space):
- process_times = _time.GetProcessTimes(handle)
- return (process_times['UserTime'] + process_times['KernelTime']) * 1e-7
-
from rpython.rlib.rposix import GetCurrentProcess, GetProcessTimes
current_process = GetCurrentProcess()
with lltype.scoped_alloc(rwin32.FILETIME) as creation_time, \
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit