Home
last modified time | relevance | path

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

/llvm-project/third-party/benchmark/test/
H A Dcomplexity_test.cc83 state.SetIterationTime(42 * 1e-9); in BM_Complexity_O1()
132 state.SetIterationTime(static_cast<double>(state.range(0)) * 42.0 * 1e-9); in BM_Complexity_O_N()
189 state.SetIterationTime(static_cast<double>(state.range(0)) * kLog2E * in BM_Complexity_O_N_log_N()
249 state.SetIterationTime(static_cast<double>(state.range(0)) * 42.0 * 1e-9); in BM_ComplexityCaptureArgs()
H A Dinternal_threading_test.cc40 state.SetIterationTime(time_frame_in_sec); in BM_MainThread()
83 state.SetIterationTime(time_frame_in_sec); in BM_WorkerThread()
127 state.SetIterationTime(time_frame_in_sec); in BM_MainThreadAndWorkerThread()
H A Dreporter_output_test.cc826 state.SetIterationTime(150 / 10e8); in BM_UserStats()
957 state.SetIterationTime(150 / 10e8); in BM_UserPercentStats()
H A Dbenchmark_test.cc205 state.SetIterationTime(elapsed.count()); in BM_ManualTiming()
/llvm-project/third-party/benchmark/src/
H A Dthread_timer.h41 void SetIterationTime(double seconds) { manual_time_used_ += seconds; } in SetIterationTime() function
H A Dbenchmark.cc289 void State::SetIterationTime(double seconds) { in SetIterationTime() function in benchmark::State
290 timer_->SetIterationTime(seconds); in SetIterationTime()
/llvm-project/third-party/benchmark/bindings/python/google_benchmark/
H A Dbenchmark.cc162 .def("set_iteration_time", &State::SetIterationTime) in NB_MODULE()
/llvm-project/third-party/benchmark/docs/
H A Duser_guide.md938 `SetIterationTime` once per iteration of the benchmark loop to
945 can be reported back with `SetIterationTime`.
964 state.SetIterationTime(elapsed_seconds.count());
/llvm-project/third-party/benchmark/include/benchmark/
H A Dbenchmark.h857 void SetIterationTime(double seconds);