Home
last modified time | relevance | path

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

/external/opencv3/doc/py_tutorials/py_core/py_optimization/
Dpy_optimization.markdown67 In [6]: %timeit res = cv2.medianBlur(img,49)
76 In [9]: %timeit res = cv2.medianBlur(img,49)
87 magic command %timeit to perform this. It runs the code several times to get more accurate results.
91 x = 5; y = x\*x, x = np.uint8([5]); y = x\*x or y = np.square(x) ? We will find it with %timeit in
96 In [11]: %timeit y=x**2
99 In [12]: %timeit y=x*x
104 In [17]: %timeit y=z*z
107 In [19]: %timeit y=np.square(z)
122 In [35]: %timeit z = cv2.countNonZero(img)
125 In [36]: %timeit z = np.count_nonzero(img)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/performance/
Dconcatenation.py31 import timeit
34 t = timeit.Timer(statement, "from __main__ import " + statement)
/external/vulkan-validation-layers/
Dgenvk.py42 timeit = False variable
72 timeit = True variable
91 if (timeit):
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Dtracing_backend_unittest.py5 import timeit
191 startClock = timeit.default_timer()
210 return timeit.default_timer() - startClock
/external/opencv3/doc/py_tutorials/py_imgproc/py_transforms/py_fourier_transform/
Dpy_fourier_transform.markdown185 using IPython magic command %timeit.
213 In [22]: %timeit fft1 = np.fft.fft2(img)
215 In [23]: %timeit fft2 = np.fft.fft2(img,[nrows,ncols])
220 In [24]: %timeit dft1= cv2.dft(np.float32(img),flags=cv2.DFT_COMPLEX_OUTPUT)
222 In [27]: %timeit dft2= cv2.dft(np.float32(nimg),flags=cv2.DFT_COMPLEX_OUTPUT)
/external/pcre/dist/
Dpcretest.c2987 int timeit = 0; in main() local
3157 if (both) timeit = timeitm; in main()
4010 if (timeit > 0) in main()
4015 for (i = 0; i < timeit; i++) in main()
4022 (((double)time_taken * 1000.0) / (double)timeit) / in main()
4099 if (timeit > 0) in main()
4104 for (i = 0; i < timeit; i++) in main()
4114 (((double)time_taken * 1000.0) / (double)timeit) / in main()
5699 if (timeit > 0) in main()
5702 (((double)total_compile_time * 1000.0) / (double)timeit) / in main()
[all …]