Home
last modified time | relevance | path

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

/external/catch2/include/internal/benchmark/detail/
Dcatch_estimate_clock.hpp72 auto time_clock = [](int k) { in estimate_clock_cost() local
80 time_clock(1); in estimate_clock_cost()
82 …>(std::chrono::duration_cast<ClockDuration<Clock>>(clock_cost_estimation_time), iters, time_clock); in estimate_clock_cost()
86 std::generate_n(std::back_inserter(times), nsamples, [time_clock, &r] { in estimate_clock_cost()
87 return static_cast<double>((time_clock(r.iterations) / r.iterations).count()); in estimate_clock_cost()
/external/python/cpython2/Modules/
Dtimemodule.c156 time_clock(PyObject *self, PyObject *unused) in time_clock() function
165 time_clock(PyObject *self, PyObject *unused) in time_clock() function
880 {"clock", time_clock, METH_NOARGS, clock_doc},
/external/llvm-project/libc/benchmarks/
DRATIONALE.md50 - [Real-Time Clocks (RTC)](https://en.wikipedia.org/wiki/Real-time_clock): used
/external/catch2/single_include/catch2/
Dcatch.hpp7097 auto time_clock = [](int k) { in estimate_clock_cost() local
7105 time_clock(1); in estimate_clock_cost()
7107 …>(std::chrono::duration_cast<ClockDuration<Clock>>(clock_cost_estimation_time), iters, time_clock); in estimate_clock_cost()
7111 std::generate_n(std::back_inserter(times), nsamples, [time_clock, &r] { in estimate_clock_cost()
7112 return static_cast<double>((time_clock(r.iterations) / r.iterations).count()); in estimate_clock_cost()
/external/libabigail/tests/lib/
Dcatch.hpp7129 auto time_clock = [](int k) { in estimate_clock_cost() local
7137 time_clock(1); in estimate_clock_cost()
7139 …>(std::chrono::duration_cast<ClockDuration<Clock>>(clock_cost_estimation_time), iters, time_clock); in estimate_clock_cost()
7143 std::generate_n(std::back_inserter(times), nsamples, [time_clock, &r] { in estimate_clock_cost()
7144 return static_cast<double>((time_clock(r.iterations) / r.iterations).count()); in estimate_clock_cost()