/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | duration_benchmark.cc | 37 while (state.KeepRunning()) { in BM_Duration_Factory_Nanoseconds() 46 while (state.KeepRunning()) { in BM_Duration_Factory_Microseconds() 55 while (state.KeepRunning()) { in BM_Duration_Factory_Milliseconds() 64 while (state.KeepRunning()) { in BM_Duration_Factory_Seconds() 73 while (state.KeepRunning()) { in BM_Duration_Factory_Minutes() 82 while (state.KeepRunning()) { in BM_Duration_Factory_Hours() 91 while (state.KeepRunning()) { in BM_Duration_Factory_DoubleNanoseconds() 100 while (state.KeepRunning()) { in BM_Duration_Factory_DoubleMicroseconds() 109 while (state.KeepRunning()) { in BM_Duration_Factory_DoubleMilliseconds() 118 while (state.KeepRunning()) { in BM_Duration_Factory_DoubleSeconds() [all …]
|
D | time_benchmark.cc | 41 while (state.KeepRunning()) { in BM_Time_Arithmetic() 56 while (state.KeepRunning()) { in BM_Time_Difference() 77 while (state.KeepRunning()) { in BM_Time_ToDateTime_Absl() 89 while (state.KeepRunning()) { in BM_Time_ToDateTime_Libc() 105 while (state.KeepRunning()) { in BM_Time_ToDateTimeUTC_Absl() 114 while (state.KeepRunning()) { in BM_Time_ToDateTimeUTC_Libc() 132 while (state.KeepRunning()) { in BM_Time_FromUnixMicros() 141 while (state.KeepRunning()) { in BM_Time_ToUnixNanos() 149 while (state.KeepRunning()) { in BM_Time_ToUnixMicros() 157 while (state.KeepRunning()) { in BM_Time_ToUnixMillis() [all …]
|
D | clock_benchmark.cc | 29 while (state.KeepRunning()) { in BM_Clock_Now_AbslTime() 36 while (state.KeepRunning()) { in BM_Clock_Now_GetCurrentTimeNanos() 43 while (state.KeepRunning()) { in BM_Clock_Now_AbslTime_ToUnixNanos() 50 while (state.KeepRunning()) { in BM_Clock_Now_CycleClock() 59 while (state.KeepRunning()) { in BM_Clock_Now_gettimeofday() 67 while (state.KeepRunning()) { in BM_Clock_Now_clock_gettime()
|
D | civil_time_benchmark.cc | 44 while (state.KeepRunning()) { in BM_Difference_Days() 54 while (state.KeepRunning()) { in BM_Step_Days() 62 while (state.KeepRunning()) { in BM_Format() 72 while (state.KeepRunning()) { in BM_Parse() 82 while (state.KeepRunning()) { in BM_RoundTripFormatParse()
|
D | format_benchmark.cc | 43 while (state.KeepRunning()) { in BM_Format_FormatTime() 58 while (state.KeepRunning()) { in BM_Format_ParseTime()
|
/third_party/musl/Benchmark/musl/ |
D | libc_pthread.cpp | 33 while (state.KeepRunning()) { in Bm_function_pthread_mutexattr_settype() 48 while (state.KeepRunning()) { in Bm_function_pthread_mutex_trylock_fast() 63 while (state.KeepRunning()) { in Bm_function_pthread_mutex_trylock_errchk() 78 while (state.KeepRunning()) { in Bm_function_pthread_mutex_trylock_rec() 93 while (state.KeepRunning()) { in Bm_function_pthread_mutex_trylock_pi_fast() 108 while (state.KeepRunning()) { in Bm_function_pthread_mutex_trylock_pi_errorcheck() 123 while (state.KeepRunning()) { in Bm_function_pthread_mutex_trylock_pi_rec() 139 while (state.KeepRunning()) { in Bm_function_pthread_mutex_timedlock_fast() 156 while (state.KeepRunning()) { in Bm_function_pthread_mutex_timedlock_errchk() 173 while (state.KeepRunning()) { in Bm_function_pthread_mutex_timedlock_rec() [all …]
|
D | libc_string.cpp | 76 while (state.KeepRunning()) { in Bm_function_Memchr() 114 while (state.KeepRunning()) { in Bm_function_Strnlen() 130 while (state.KeepRunning()) { in Bm_function_Strlen_chk() 151 while (state.KeepRunning()) { in Bm_function_Stpncpy() 171 while (state.KeepRunning()) { in Bm_function_Strncpy() 190 while (state.KeepRunning()) { in Bm_function_Bcmp() 219 while (state.KeepRunning()) { in Bm_function_Wmemset() 236 while (state.KeepRunning()) { in Bm_function_Wmemcpy() 285 while (state.KeepRunning()) { in Bm_function_Strchrnul() 369 while (state.KeepRunning()) { in Bm_function_Strdup() [all …]
|
D | libc_time.cpp | 64 while (state.KeepRunning()) { in Bm_function_Tzset() 142 while (state.KeepRunning()) { in Bm_function_Strftime() 151 while (state.KeepRunning()) { in Bm_function_Mktime() 159 while (state.KeepRunning()) { in Bm_function_Gmtime() 182 while (state.KeepRunning()) { in Bm_function_Timerfd_settime() 367 while (state.KeepRunning()) { in Bm_function_Strptime()
|
D | libc_unistd.cpp | 68 while (state.KeepRunning()) { in ReadWriteTest() 91 while (state.KeepRunning()) { in PreadWriteTest()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | cctz_benchmark.cc | 35 while (state.KeepRunning()) { in BM_Difference_Days() 44 while (state.KeepRunning()) { in BM_Step_Days() 52 while (state.KeepRunning()) { in BM_GetWeekday() 725 while (state.KeepRunning()) { in BM_Zone_LoadUTCTimeZoneFirst() 736 while (state.KeepRunning()) { in BM_Zone_LoadUTCTimeZoneLast() 745 while (state.KeepRunning()) { in BM_Zone_LoadTimeZoneFirst() 759 while (state.KeepRunning()) { in BM_Zone_LoadTimeZoneCached() 769 while (state.KeepRunning()) { in BM_Zone_LoadLocalTimeZoneCached() 778 for (auto index = names.size(); state.KeepRunning(); ++index) { in BM_Zone_LoadAllTimeZonesFirst() 798 for (auto index = names.size(); state.KeepRunning(); ++index) { in BM_Zone_LoadAllTimeZonesCached() [all …]
|
/third_party/json/tests/benchmarks/src/ |
D | benchmarks.cpp | 24 while (state.KeepRunning()) in ParseFile() 60 while (state.KeepRunning()) in ParseString() 95 while (state.KeepRunning()) in Dump() 129 while (state.KeepRunning()) in ToCbor() 170 while (state.KeepRunning()) in BinaryToCbor()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/ |
D | equal_benchmark.cc | 43 while (state.KeepRunning()) { in BM_absl_equal_benchmark() 53 while (state.KeepRunning()) { in BM_std_equal_benchmark() 63 while (state.KeepRunning()) { in BM_memcmp_benchmark() 75 while (state.KeepRunning()) { in BM_absl_equal_self_benchmark()
|
/third_party/protobuf/benchmarks/cpp/ |
D | cpp_benchmark.cc | 104 while (state.KeepRunning()) { in BenchmarkCase() 126 while (state.KeepRunning()) { in BenchmarkCase() 149 while (state.KeepRunning()) { in BenchmarkCase() 181 while (state.KeepRunning()) { in BenchmarkCase()
|
/third_party/json/benchmarks/src/ |
D | benchmarks.cpp | 14 while (state.KeepRunning()) in ParseFile() 50 while (state.KeepRunning()) in ParseString() 85 while (state.KeepRunning()) in Dump()
|
/third_party/benchmark/test/ |
D | skip_with_error_test.cc | 72 while (state.KeepRunning()) { in BM_error_before_running() 99 while (state.KeepRunning()) { in BM_error_during_running() 157 while (state.KeepRunning()) { in BM_error_while_paused()
|
D | cxx03_test.cc | 16 while (state.KeepRunning()) { in BM_empty() 28 while (state.KeepRunning()) { in BM_old_arg_range_interface()
|
D | state_assembly_test.cc | 47 while (S.KeepRunning()) { in test_while_loop()
|
D | diagnostics_test.cc | 66 while (state.KeepRunning()) { in BM_diagnostic_test_keep_running()
|
D | benchmark_test.cc | 218 while (state.KeepRunning()) { in BM_non_template_args() 240 while (st.KeepRunning()) { in BM_DenseThreadRanges()
|
D | basic_test.cc | 102 while (state.KeepRunning()) { in BM_KeepRunning()
|
/third_party/benchmark/bindings/python/google_benchmark/ |
D | benchmark.cc | 155 .def("__bool__", &State::KeepRunning) in PYBIND11_MODULE() 156 .def_property_readonly("keep_running", &State::KeepRunning) in PYBIND11_MODULE()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | btree_benchmark.cc | 136 while (state.KeepRunning()) { in BM_LookupImpl() 363 while (state.KeepRunning()) { in BM_Fifo() 382 while (state.KeepRunning()) { in BM_FwdIter() 404 while (state.KeepRunning()) { in BM_RangeConstructionImpl()
|
/third_party/benchmark/docs/ |
D | user_guide.md | 57 [A Faster KeepRunning Loop](#a-faster-keep-running-loop) 757 exits the benchmark loop. (This behavior is also provided by the `KeepRunning()` 1082 `KeepRunning()` are skipped. For the ranged-for version of the benchmark loop 1098 // KeepRunning() loop will not be entered. 1100 while (state.KeepRunning()) { 1128 ## A Faster KeepRunning Loop 1131 the `KeepRunning` loop for running the benchmarks. For example: 1142 The reason the ranged-for loop is faster than using `KeepRunning`, is 1143 because `KeepRunning` requires a memory load and store of the iteration count 1161 Compared to an empty `KeepRunning` loop, which looks like:
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set_benchmark.cc | 164 while (state.KeepRunning()) { in BM_CacheInSteadyState() 382 while (state.KeepRunning()) { in BM_DropDeletes()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | variant_benchmark.cc | 126 if (state.KeepRunning()) { in Run()
|