Lines Matching defs:state

29 static void Bm_function_pthread_mutexattr_settype(benchmark::State &state)
33 while (state.KeepRunning()) {
39 static void Bm_function_pthread_mutex_trylock_fast(benchmark::State &state)
48 while (state.KeepRunning()) {
54 static void Bm_function_pthread_mutex_trylock_errchk(benchmark::State &state)
63 while (state.KeepRunning()) {
69 static void Bm_function_pthread_mutex_trylock_rec(benchmark::State &state)
78 while (state.KeepRunning()) {
84 static void Bm_function_pthread_mutex_trylock_pi_fast(benchmark::State &state)
93 while (state.KeepRunning()) {
99 static void Bm_function_pthread_mutex_trylock_pi_errorcheck(benchmark::State &state)
108 while (state.KeepRunning()) {
114 static void Bm_function_pthread_mutex_trylock_pi_rec(benchmark::State &state)
123 while (state.KeepRunning()) {
129 static void Bm_function_pthread_mutex_timedlock_fast(benchmark::State &state)
139 while (state.KeepRunning()) {
145 static void Bm_function_pthread_mutex_timedlock_errchk(benchmark::State &state)
156 while (state.KeepRunning()) {
162 static void Bm_function_pthread_mutex_timedlock_rec(benchmark::State &state)
173 while (state.KeepRunning()) {
179 static void Bm_function_pthread_mutex_timedlock_pi_fast(benchmark::State &state)
190 while (state.KeepRunning()) {
196 static void Bm_function_pthread_mutex_timedlock_pi_errchk(benchmark::State &state)
207 while (state.KeepRunning()) {
213 static void Bm_function_pthread_mutex_timedlock_pi_rec(benchmark::State &state)
224 while (state.KeepRunning()) {
230 static void Bm_function_pthread_rwlock_tryrdlock(benchmark::State &state)
234 while (state.KeepRunning()) {
241 static void Bm_function_pthread_mutex_init(benchmark::State &state)
245 for (auto _ : state) {
248 state.SetBytesProcessed(state.iterations());
251 static void Bm_function_pthread_mutex_init_destroy(benchmark::State &state)
255 for (auto _ : state) {
261 static void Bm_function_pthread_cond_init(benchmark::State &state)
265 for (auto _ : state) {
268 state.SetBytesProcessed(state.iterations());
271 static void Bm_function_pthread_cond_init_destroy(benchmark::State &state)
275 for (auto _ : state) {
279 state.SetBytesProcessed(state.iterations());
282 static void Bm_function_pthread_rwlock_init(benchmark::State &state)
286 for (auto _ : state) {
289 state.SetBytesProcessed(state.iterations());
292 static void Bm_function_pthread_rwlock_init_destroy(benchmark::State &state)
296 for (auto _ : state) {
300 state.SetBytesProcessed(state.iterations());
303 static void BM_pthread_rwlock_tryread(benchmark::State& state)
308 while (state.KeepRunning()) {
314 state.SetBytesProcessed(state.iterations());
317 static void BM_pthread_rwlock_trywrite(benchmark::State& state)
322 while (state.KeepRunning()) {
328 state.SetBytesProcessed(state.iterations());
331 static void Bm_function_tss_get(benchmark::State &state)
336 while (state.KeepRunning()) {
341 state.SetBytesProcessed(state.iterations());
344 static void Bm_function_pthread_rwlock_timedrdlock(benchmark::State &state)
353 while (state.KeepRunning()) {
359 state.SetBytesProcessed(state.iterations());
362 static void Bm_function_pthread_rwlock_timedwrlock(benchmark::State &state)
371 while (state.KeepRunning()) {
377 state.SetBytesProcessed(state.iterations());
380 static void Bm_function_pthread_cond_timedwait(benchmark::State &state)
390 while (state.KeepRunning()) {
396 state.SetBytesProcessed(state.iterations());
428 static void Bm_function_pthread_cond_broadcast(benchmark::State &state)
430 while (state.KeepRunning()) {
431 state.PauseTiming();
438 pthread_create(&threadThree, nullptr, BroadcastNotifyMutex, &state);
443 state.SetBytesProcessed(state.iterations());
446 static void Bm_function_Sem_timewait(benchmark::State &state)
453 while (state.KeepRunning()) {
459 static void Bm_function_Sem_post_wait(benchmark::State &state)
466 while (state.KeepRunning()) {
473 static void Bm_function_pthread_cond_signal(benchmark::State &state)
477 while (state.KeepRunning())
482 state.SetBytesProcessed(state.iterations());
485 static void Bm_function_pthread_cond_signal_wait(benchmark::State &state)
487 while (state.KeepRunning()) {
488 state.PauseTiming();
492 state.ResumeTiming();
496 state.SetBytesProcessed(state.iterations());
499 static void Bm_function_Sigaddset(benchmark::State &state)
503 for (auto _ : state) {
508 static void Bm_function_pthread_setcancelstate(benchmark::State &state)
510 while (state.KeepRunning()) {
514 state.SetBytesProcessed(state.iterations());
527 static void Bm_function_pthread_equal(benchmark::State &state)
535 while (state.KeepRunning()) {
538 state.SetBytesProcessed(state.iterations());
542 static void Bm_function_pthread_attr_init_destroy(benchmark::State &state)
548 while (state.KeepRunning()) {
551 state.PauseTiming();
556 state.ResumeTiming();
559 state.SetBytesProcessed(state.iterations());
562 static void Bm_function_pthread_sigmask(benchmark::State &state)
570 while (state.KeepRunning()) {
574 state.SetBytesProcessed(state.iterations());
589 static void Bm_function_pthread_spin_lock_and_spin_unlock(benchmark::State &state)
593 while (state.KeepRunning()) {
594 state.PauseTiming();
595 pthread_create(&tid, nullptr, Func, &state);
597 state.ResumeTiming();
600 state.SetBytesProcessed(state.iterations());
603 static void Bm_function_pthread_mutexattr_init_and_mutexattr_destroy(benchmark::State &state)
606 while (state.KeepRunning()) {
610 state.SetBytesProcessed(state.iterations());
618 static void Bm_function_pthread_detach(benchmark::State &state)
620 while (state.KeepRunning()) {
621 state.PauseTiming();
624 state.ResumeTiming();
627 state.SetBytesProcessed(state.iterations());
639 static void Bm_function_pthread_setname_np(benchmark::State &state)
647 while (state.KeepRunning()) {
654 state.SetBytesProcessed(state.iterations());
657 static void Bm_function_pthread_attr_setschedpolicy(benchmark::State &state)
662 while (state.KeepRunning()) {
671 static void Bm_function_pthread_attr_getschedparam(benchmark::State &state)
682 while (state.KeepRunning()) {
690 static void Bm_function_pthread_condattr_setclock(benchmark::State &state)
694 while (state.KeepRunning()) {
700 state.SetBytesProcessed(state.iterations());
703 static void Bm_function_Tgkill(benchmark::State &state)
707 for (auto _ : state) {
715 static void Bm_function_pthread_attr_setschedparam(benchmark::State &state)
721 while (state.KeepRunning()) {
743 static void Bm_function_pthread_clean_push_and_pop(benchmark::State &state)
746 while (state.KeepRunning()) {
747 state.PauseTiming();
748 pthread_create(&tid, nullptr, CleanupPushAndPop, &state);
750 state.ResumeTiming();