Home
last modified time | relevance | path

Searched refs:KeepRunning (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_benchmark.cc37 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 …]
Dtime_benchmark.cc41 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 …]
Dclock_benchmark.cc29 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()
Dcivil_time_benchmark.cc44 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()
Dformat_benchmark.cc43 while (state.KeepRunning()) { in BM_Format_FormatTime()
58 while (state.KeepRunning()) { in BM_Format_ParseTime()
/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp33 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 …]
Dlibc_string.cpp76 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 …]
Dlibc_time.cpp64 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()
Dlibc_unistd.cpp68 while (state.KeepRunning()) { in ReadWriteTest()
91 while (state.KeepRunning()) { in PreadWriteTest()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dcctz_benchmark.cc35 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/
Dbenchmarks.cpp24 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/
Dequal_benchmark.cc43 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/
Dcpp_benchmark.cc104 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/
Dbenchmarks.cpp14 while (state.KeepRunning()) in ParseFile()
50 while (state.KeepRunning()) in ParseString()
85 while (state.KeepRunning()) in Dump()
/third_party/benchmark/test/
Dskip_with_error_test.cc72 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()
Dcxx03_test.cc16 while (state.KeepRunning()) { in BM_empty()
28 while (state.KeepRunning()) { in BM_old_arg_range_interface()
Dstate_assembly_test.cc47 while (S.KeepRunning()) { in test_while_loop()
Ddiagnostics_test.cc66 while (state.KeepRunning()) { in BM_diagnostic_test_keep_running()
Dbenchmark_test.cc218 while (state.KeepRunning()) { in BM_non_template_args()
240 while (st.KeepRunning()) { in BM_DenseThreadRanges()
Dbasic_test.cc102 while (state.KeepRunning()) { in BM_KeepRunning()
/third_party/benchmark/bindings/python/google_benchmark/
Dbenchmark.cc155 .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/
Dbtree_benchmark.cc136 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/
Duser_guide.md57 [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/
Draw_hash_set_benchmark.cc164 while (state.KeepRunning()) { in BM_CacheInSteadyState()
382 while (state.KeepRunning()) { in BM_DropDeletes()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dvariant_benchmark.cc126 if (state.KeepRunning()) { in Run()

12