Lines Matching refs:state
26 static void SetLabel(benchmark::State& state) { in SetLabel() argument
27 state.SetLabel(names[state.range(0)]); in SetLabel()
38 static void BM_math_sqrt(benchmark::State& state) { in BM_math_sqrt() argument
41 while (state.KeepRunning()) { in BM_math_sqrt()
47 static void BM_math_log10(benchmark::State& state) { in BM_math_log10() argument
50 while (state.KeepRunning()) { in BM_math_log10()
56 static void BM_math_logb(benchmark::State& state) { in BM_math_logb() argument
59 while (state.KeepRunning()) { in BM_math_logb()
65 static void BM_math_isfinite_macro(benchmark::State& state) { in BM_math_isfinite_macro() argument
67 v = values[state.range(0)]; in BM_math_isfinite_macro()
68 while (state.KeepRunning()) { in BM_math_isfinite_macro()
71 SetLabel(state); in BM_math_isfinite_macro()
75 static void BM_math_isfinite(benchmark::State& state) { in BM_math_isfinite() argument
77 v = values[state.range(0)]; in BM_math_isfinite()
78 while (state.KeepRunning()) { in BM_math_isfinite()
81 SetLabel(state); in BM_math_isfinite()
85 static void BM_math_isinf_macro(benchmark::State& state) { in BM_math_isinf_macro() argument
87 v = values[state.range(0)]; in BM_math_isinf_macro()
88 while (state.KeepRunning()) { in BM_math_isinf_macro()
91 SetLabel(state); in BM_math_isinf_macro()
95 static void BM_math_isinf(benchmark::State& state) { in BM_math_isinf() argument
97 v = values[state.range(0)]; in BM_math_isinf()
98 while (state.KeepRunning()) { in BM_math_isinf()
101 SetLabel(state); in BM_math_isinf()
105 static void BM_math_isnan_macro(benchmark::State& state) { in BM_math_isnan_macro() argument
107 v = values[state.range(0)]; in BM_math_isnan_macro()
108 while (state.KeepRunning()) { in BM_math_isnan_macro()
111 SetLabel(state); in BM_math_isnan_macro()
115 static void BM_math_isnan(benchmark::State& state) { in BM_math_isnan() argument
117 v = values[state.range(0)]; in BM_math_isnan()
118 while (state.KeepRunning()) { in BM_math_isnan()
121 SetLabel(state); in BM_math_isnan()
125 static void BM_math_isnormal_macro(benchmark::State& state) { in BM_math_isnormal_macro() argument
127 v = values[state.range(0)]; in BM_math_isnormal_macro()
128 while (state.KeepRunning()) { in BM_math_isnormal_macro()
131 SetLabel(state); in BM_math_isnormal_macro()
135 static void BM_math_isnormal(benchmark::State& state) { in BM_math_isnormal() argument
137 v = values[state.range(0)]; in BM_math_isnormal()
138 while (state.KeepRunning()) { in BM_math_isnormal()
141 SetLabel(state); in BM_math_isnormal()
145 static void BM_math_sin_fast(benchmark::State& state) { in BM_math_sin_fast() argument
147 while (state.KeepRunning()) { in BM_math_sin_fast()
153 static void BM_math_sin_feupdateenv(benchmark::State& state) { in BM_math_sin_feupdateenv() argument
155 while (state.KeepRunning()) { in BM_math_sin_feupdateenv()
165 static void BM_math_sin_fesetenv(benchmark::State& state) { in BM_math_sin_fesetenv() argument
167 while (state.KeepRunning()) { in BM_math_sin_fesetenv()
177 static void BM_math_fpclassify(benchmark::State& state) { in BM_math_fpclassify() argument
179 v = values[state.range(0)]; in BM_math_fpclassify()
180 while (state.KeepRunning()) { in BM_math_fpclassify()
183 SetLabel(state); in BM_math_fpclassify()
187 static void BM_math_signbit_macro(benchmark::State& state) { in BM_math_signbit_macro() argument
189 v = values[state.range(0)]; in BM_math_signbit_macro()
190 while (state.KeepRunning()) { in BM_math_signbit_macro()
193 SetLabel(state); in BM_math_signbit_macro()
197 static void BM_math_signbit(benchmark::State& state) { in BM_math_signbit() argument
199 v = values[state.range(0)]; in BM_math_signbit()
200 while (state.KeepRunning()) { in BM_math_signbit()
203 SetLabel(state); in BM_math_signbit()
207 static void BM_math_fabs_macro(benchmark::State& state) { in BM_math_fabs_macro() argument
209 v = values[state.range(0)]; in BM_math_fabs_macro()
210 while (state.KeepRunning()) { in BM_math_fabs_macro()
213 SetLabel(state); in BM_math_fabs_macro()
217 static void BM_math_fabs(benchmark::State& state) { in BM_math_fabs() argument
219 v = values[state.range(0)]; in BM_math_fabs()
220 while (state.KeepRunning()) { in BM_math_fabs()
223 SetLabel(state); in BM_math_fabs()
227 static void BM_math_sincos(benchmark::State& state) { in BM_math_sincos() argument
229 while (state.KeepRunning()) { in BM_math_sincos()
239 static void BM_math_expf_speccpu2017(benchmark::State& state) { in BM_math_expf_speccpu2017() argument
242 for (auto _ : state) { in BM_math_expf_speccpu2017()
250 static void BM_math_expf_speccpu2017_latency(benchmark::State& state) { in BM_math_expf_speccpu2017_latency() argument
253 for (auto _ : state) { in BM_math_expf_speccpu2017_latency()
266 static void BM_math_exp_speccpu2017(benchmark::State& state) { in BM_math_exp_speccpu2017() argument
269 for (auto _ : state) { in BM_math_exp_speccpu2017()
277 static void BM_math_exp_speccpu2017_latency(benchmark::State& state) { in BM_math_exp_speccpu2017_latency() argument
280 for (auto _ : state) { in BM_math_exp_speccpu2017_latency()
288 static void BM_math_exp2f_speccpu2017(benchmark::State& state) { in BM_math_exp2f_speccpu2017() argument
291 for (auto _ : state) { in BM_math_exp2f_speccpu2017()
299 static void BM_math_exp2f_speccpu2017_latency(benchmark::State& state) { in BM_math_exp2f_speccpu2017_latency() argument
302 for (auto _ : state) { in BM_math_exp2f_speccpu2017_latency()
310 static void BM_math_exp2_speccpu2017(benchmark::State& state) { in BM_math_exp2_speccpu2017() argument
313 for (auto _ : state) { in BM_math_exp2_speccpu2017()
321 static void BM_math_exp2_speccpu2017_latency(benchmark::State& state) { in BM_math_exp2_speccpu2017_latency() argument
324 for (auto _ : state) { in BM_math_exp2_speccpu2017_latency()
337 static void BM_math_powf_speccpu2006(benchmark::State& state) { in BM_math_powf_speccpu2006() argument
340 for (auto _ : state) { in BM_math_powf_speccpu2006()
348 static void BM_math_powf_speccpu2017_latency(benchmark::State& state) { in BM_math_powf_speccpu2017_latency() argument
351 for (auto _ : state) { in BM_math_powf_speccpu2017_latency()
359 static void BM_math_pow_speccpu2006(benchmark::State& state) { in BM_math_pow_speccpu2006() argument
362 for (auto _ : state) { in BM_math_pow_speccpu2006()
370 static void BM_math_pow_speccpu2017_latency(benchmark::State& state) { in BM_math_pow_speccpu2017_latency() argument
373 for (auto _ : state) { in BM_math_pow_speccpu2017_latency()
386 static void BM_math_logf_speccpu2017(benchmark::State& state) { in BM_math_logf_speccpu2017() argument
389 for (auto _ : state) { in BM_math_logf_speccpu2017()
397 static void BM_math_logf_speccpu2017_latency(benchmark::State& state) { in BM_math_logf_speccpu2017_latency() argument
400 for (auto _ : state) { in BM_math_logf_speccpu2017_latency()
408 static void BM_math_log_speccpu2017(benchmark::State& state) { in BM_math_log_speccpu2017() argument
411 for (auto _ : state) { in BM_math_log_speccpu2017()
419 static void BM_math_log_speccpu2017_latency(benchmark::State& state) { in BM_math_log_speccpu2017_latency() argument
422 for (auto _ : state) { in BM_math_log_speccpu2017_latency()
430 static void BM_math_log2f_speccpu2017(benchmark::State& state) { in BM_math_log2f_speccpu2017() argument
433 for (auto _ : state) { in BM_math_log2f_speccpu2017()
441 static void BM_math_log2_speccpu2017_latency(benchmark::State& state) { in BM_math_log2_speccpu2017_latency() argument
444 for (auto _ : state) { in BM_math_log2_speccpu2017_latency()
452 static void BM_math_log2_speccpu2017(benchmark::State& state) { in BM_math_log2_speccpu2017() argument
455 for (auto _ : state) { in BM_math_log2_speccpu2017()
463 static void BM_math_log2f_speccpu2017_latency(benchmark::State& state) { in BM_math_log2f_speccpu2017_latency() argument
466 for (auto _ : state) { in BM_math_log2f_speccpu2017_latency()
486 static void BM_math_sinf(benchmark::State& state) { in BM_math_sinf() argument
487 auto range = sincosf_input[state.range(0)]; in BM_math_sinf()
490 for (auto _ : state) { in BM_math_sinf()
495 state.SetLabel(range.label); in BM_math_sinf()
499 static void BM_math_sinf_latency(benchmark::State& state) { in BM_math_sinf_latency() argument
500 auto range = sincosf_input[state.range(0)]; in BM_math_sinf_latency()
503 for (auto _ : state) { in BM_math_sinf_latency()
508 state.SetLabel(range.label); in BM_math_sinf_latency()
512 static void BM_math_cosf(benchmark::State& state) { in BM_math_cosf() argument
513 auto range = sincosf_input[state.range(0)]; in BM_math_cosf()
516 for (auto _ : state) { in BM_math_cosf()
521 state.SetLabel(range.label); in BM_math_cosf()
525 static void BM_math_cosf_latency(benchmark::State& state) { in BM_math_cosf_latency() argument
526 auto range = sincosf_input[state.range(0)]; in BM_math_cosf_latency()
529 for (auto _ : state) { in BM_math_cosf_latency()
534 state.SetLabel(range.label); in BM_math_cosf_latency()
538 static void BM_math_sincosf(benchmark::State& state) { in BM_math_sincosf() argument
539 auto range = sincosf_input[state.range(0)]; in BM_math_sincosf()
542 for (auto _ : state) { in BM_math_sincosf()
549 state.SetLabel(range.label); in BM_math_sincosf()
553 static void BM_math_sincosf_latency(benchmark::State& state) { in BM_math_sincosf_latency() argument
554 auto range = sincosf_input[state.range(0)]; in BM_math_sincosf_latency()
557 for (auto _ : state) { in BM_math_sincosf_latency()
564 state.SetLabel(range.label); in BM_math_sincosf_latency()