Home
last modified time | relevance | path

Searched refs:seconds_per_increment (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_timeit.py24 def __init__(self, seconds_per_increment=1.0): argument
27 self.seconds_per_increment=seconds_per_increment
31 return self.BASE_TIME + self.count * self.seconds_per_increment
230 def run_main(self, seconds_per_increment=1.0, switches=None, timer=None): argument
232 timer = FakeTimer(seconds_per_increment=seconds_per_increment)
253 s = self.run_main(seconds_per_increment=5.5)
257 s = self.run_main(seconds_per_increment=0.0055)
261 s = self.run_main(seconds_per_increment=0.0000025, switches=['-n100'])
265 s = self.run_main(seconds_per_increment=2.0, switches=['-n35'])
269 s = self.run_main(seconds_per_increment=2.0,
[all …]
/external/python/cpython2/Lib/test/
Dtest_timeit.py26 def __init__(self, seconds_per_increment=1.0): argument
29 self.seconds_per_increment=seconds_per_increment
33 return self.BASE_TIME + self.count * self.seconds_per_increment
216 def run_main(self, seconds_per_increment=1.0, switches=None, timer=None): argument
218 timer = FakeTimer(seconds_per_increment=seconds_per_increment)
239 s = self.run_main(seconds_per_increment=5.5)
243 s = self.run_main(seconds_per_increment=0.0055)
247 s = self.run_main(seconds_per_increment=0.0000025, switches=['-n100'])
251 s = self.run_main(seconds_per_increment=2.0, switches=['-n35'])
255 s = self.run_main(seconds_per_increment=2.0,
[all …]