Home
last modified time | relevance | path

Searched refs:perf_counter (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtime_hashlib.py17 start = time.perf_counter()
20 end = time.perf_counter()
25 start = time.perf_counter()
28 end = time.perf_counter()
33 start = time.perf_counter()
36 end = time.perf_counter()
Dreperf.py12 t0 = time.perf_counter()
18 t1 = time.perf_counter()
Dsortperf.py60 t0 = time.perf_counter()
62 t1 = time.perf_counter()
Dtest_time.py79 check_ns(time.perf_counter(),
482 time.perf_counter()
Dtest_signal.py1065 times.append(time.perf_counter())
/external/python/cpython3/Lib/test/libregrtest/
Druntest.py165 start_time = time.perf_counter()
183 test_time = time.perf_counter() - start_time
/external/python/cpython3/Lib/turtledemo/
Dtree.py19 from time import perf_counter as clock
Drosette.py17 from time import perf_counter as clock, sleep
Dforest.py16 from time import perf_counter as clock
Dfractalcurves.py15 from time import sleep, perf_counter as clock
Dpenrose.py20 from time import perf_counter as clock, sleep
Dbytedesign.py26 from time import perf_counter as clock
/external/python/cpython3/Lib/unittest/
Drunner.py171 startTime = time.perf_counter()
181 stopTime = time.perf_counter()
/external/python/cpython3/Lib/idlelib/
Dcolorizer.py215 t0 = time.perf_counter()
217 t1 = time.perf_counter()
/external/python/cpython3/Lib/
Dpprint.py571 t1 = time.perf_counter()
573 t2 = time.perf_counter()
575 t3 = time.perf_counter()
Drandom.py709 t0 = time.perf_counter()
716 t1 = time.perf_counter()
Dtimeit.py61 default_timer = time.perf_counter
/external/python/cpython3/Doc/library/
Dtimeit.rst87 The default timer, which is always :func:`time.perf_counter`.
90 :func:`time.perf_counter` is now the default timer.
226 instead of :func:`time.perf_counter`, which is the default
Dtime.rst158 :func:`perf_counter` or :func:`process_time` instead, depending on your
242 * ``'perf_counter'``: :func:`time.perf_counter`
307 .. function:: perf_counter() -> float
322 Similar to :func:`perf_counter`, but return time as nanoseconds.
Dprofile.rst669 :func:`time.perf_counter`.
/external/python/cpython3/Lib/ctypes/test/
Dtest_strings.py204 from time import perf_counter as clock
Dtest_numbers.py244 from time import perf_counter as clock
/external/python/cpython3/Lib/test/support/
Dtestresult.py46 self.__start_time = time.perf_counter()
/external/python/cpython3/Modules/
Dtimemodule.c139 perf_counter(_Py_clock_info_t *info) in perf_counter() function
162 return perf_counter(info); in pyclock()
1080 return perf_counter(NULL); in time_perf_counter()
/external/python/cpython3/Misc/NEWS.d/
D3.7.3rc1.rst457 :func:`time.perf_counter` rather than :func:`time.time` to measure the
459 :func:`time.perf_counter` is monotonic.

12