Home
last modified time | relevance | path

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

/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 …]