/external/python/cpython2/Lib/test/ |
test_timeit.py | 1 import timeit 12 # timeit's default number of iterations. 15 # timeit's default number of repetitions. 30 timeit._fake_timer = self 50 del timeit._fake_timer 55 self.assertEqual(timeit.reindent("", 0), "") 56 self.assertEqual(timeit.reindent("", 4), "") 59 self.assertEqual(timeit.reindent("pass", 0), "pass") 60 self.assertEqual(timeit.reindent("pass", 4), "pass") 63 self.assertEqual(timeit.reindent("\n\n", 0), "\n\n" 97 def timeit(self, stmt, setup, number=None): member in class:TestTimeit [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement]
61 # Must be an older Python version (see timeit() below)
66 dummy_src_name = "<timeit-src>"
114 timeit() method. The repeat() method is a convenience to call
115 timeit() multiple times and return a list of results.
158 t.timeit(...) # or t.repeat(...)
178 def timeit(self, number=default_number):
member in class:Timer 200 """Call timeit() a few times.
202 This is a convenience function that calls the timeit()
204 specifies how many times to call timeit(), defaulting to 3; 225 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/external/python/cpython2/Lib/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 165 t.timeit(...) # or t.repeat(...) 185 def timeit(self, number=default_number): member in class:Timer 209 """Call timeit() a few times. 211 This is a convenience function that calls the timeit() 213 specifies how many times to call timeit(), defaulting to 3 234 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/external/vulkan-validation-layers/ |
lvl_genvk.py | 30 def startTimer(timeit): 34 def endTimer(timeit, msg): 37 if (timeit):
|
/prebuilts/ndk/r13/sources/third_party/vulkan/src/ |
genvk.py | 28 # timeit - time length of registry loading & header generation 35 timeit = False variable 66 timeit = True variable 89 if (timeit):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_sundry.py | 76 import timeit
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_sundry.py | 80 import timeit
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_sundry.py | 80 import timeit
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sundry.py | 80 import timeit
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sundry.py | 80 import timeit
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
Exceptions.py | 696 import timeit
697 timeit.TestClass = TryRaiseExcept
698 timeit.main(['-s', 'test = TestClass(); test.rounds = 1000',
|
Calls.py | 473 import timeit
475 timeit.TestClass = PythonFunctionCalls
476 timeit.main(['-s', 'test = TestClass(); test.rounds = 1000',
559 timeit.main(['-s', setup,
|
/external/python/cpython2/Tools/pybench/ |
Exceptions.py | 696 import timeit 697 timeit.TestClass = TryRaiseExcept 698 timeit.main(['-s', 'test = TestClass(); test.rounds = 1000',
|
Calls.py | 473 import timeit 475 timeit.TestClass = PythonFunctionCalls 476 timeit.main(['-s', 'test = TestClass(); test.rounds = 1000', 559 timeit.main(['-s', setup,
|
/frameworks/native/opengl/tools/glgen2/registry/ |
genheaders.py | 33 # timeit - time length of registry loading & header generation 40 timeit = False variable 70 timeit = True variable 89 if (timeit):
|
/external/flatbuffers/tests/ |
py_test.py | 22 import timeit [all...] |
/external/pcre/dist2/src/ |
pcre2test.c | 793 static int timeit = 0; variable [all...] |