Show More
@@ -15,7 +15,6 b' import pdb' | |||
|
15 | 15 | import re |
|
16 | 16 | import signal |
|
17 | 17 | import sys |
|
18 | import time | |
|
19 | 18 | import traceback |
|
20 | 19 | |
|
21 | 20 | |
@@ -1040,8 +1039,8 b' def _dispatch(req):' | |||
|
1040 | 1039 | def get_times(): |
|
1041 | 1040 | t = os.times() |
|
1042 | 1041 | if t[4] == 0.0: |
|
1043 |
# Windows leaves this as zero, so use time. |
|
|
1044 |
t = (t[0], t[1], t[2], t[3], |
|
|
1042 | # Windows leaves this as zero, so use time.perf_counter() | |
|
1043 | t = (t[0], t[1], t[2], t[3], util.timer()) | |
|
1045 | 1044 | return t |
|
1046 | 1045 | |
|
1047 | 1046 | s = get_times() |
General Comments 0
You need to be logged in to leave comments.
Login now