summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/pybench/pybench.py1
-rw-r--r--Tools/pybench/systimes.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py
index 624347f..781b4f8 100755
--- a/Tools/pybench/pybench.py
+++ b/Tools/pybench/pybench.py
@@ -501,6 +501,7 @@ class Benchmark:
def calibrate(self):
print('Calibrating tests. Please wait...', end=' ')
+ sys.stdout.flush()
if self.verbose:
print()
print()
diff --git a/Tools/pybench/systimes.py b/Tools/pybench/systimes.py
index cc880c5..a0f3066 100644
--- a/Tools/pybench/systimes.py
+++ b/Tools/pybench/systimes.py
@@ -48,7 +48,7 @@ import time, sys
### Choose an implementation
SYSTIMES_IMPLEMENTATION = None
-USE_CTYPES_GETPROCESSTIMES = 'cytpes GetProcessTimes() wrapper'
+USE_CTYPES_GETPROCESSTIMES = 'ctypes GetProcessTimes() wrapper'
USE_WIN32PROCESS_GETPROCESSTIMES = 'win32process.GetProcessTimes()'
USE_RESOURCE_GETRUSAGE = 'resource.getrusage()'
USE_PROCESS_TIME_CLOCK = 'time.clock() (process time)'