Lines Matching refs:state

24 static void BM_pthread_self(benchmark::State& state) {  in BM_pthread_self()  argument
25 while (state.KeepRunning()) { in BM_pthread_self()
31 static void BM_pthread_getspecific(benchmark::State& state) { in BM_pthread_getspecific() argument
35 while (state.KeepRunning()) { in BM_pthread_getspecific()
43 static void BM_pthread_setspecific(benchmark::State& state) { in BM_pthread_setspecific() argument
47 while (state.KeepRunning()) { in BM_pthread_setspecific()
58 static void BM_pthread_once(benchmark::State& state) { in BM_pthread_once() argument
62 while (state.KeepRunning()) { in BM_pthread_once()
68 static void BM_pthread_mutex_lock(benchmark::State& state) { in BM_pthread_mutex_lock() argument
71 while (state.KeepRunning()) { in BM_pthread_mutex_lock()
78 static void BM_pthread_mutex_lock_ERRORCHECK(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK() argument
81 while (state.KeepRunning()) { in BM_pthread_mutex_lock_ERRORCHECK()
88 static void BM_pthread_mutex_lock_RECURSIVE(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE() argument
91 while (state.KeepRunning()) { in BM_pthread_mutex_lock_RECURSIVE()
98 static void BM_pthread_rwlock_read(benchmark::State& state) { in BM_pthread_rwlock_read() argument
102 while (state.KeepRunning()) { in BM_pthread_rwlock_read()
111 static void BM_pthread_rwlock_write(benchmark::State& state) { in BM_pthread_rwlock_write() argument
115 while (state.KeepRunning()) { in BM_pthread_rwlock_write()
128 static void BM_pthread_create(benchmark::State& state) { in BM_pthread_create() argument
129 while (state.KeepRunning()) { in BM_pthread_create()
132 state.PauseTiming(); in BM_pthread_create()
134 state.ResumeTiming(); in BM_pthread_create()
140 benchmark::State& state = *reinterpret_cast<benchmark::State*>(arg); in RunThread() local
141 state.PauseTiming(); in RunThread()
145 static void BM_pthread_create_and_run(benchmark::State& state) { in BM_pthread_create_and_run() argument
146 while (state.KeepRunning()) { in BM_pthread_create_and_run()
148 pthread_create(&thread, NULL, RunThread, &state); in BM_pthread_create_and_run()
150 state.ResumeTiming(); in BM_pthread_create_and_run()
156 benchmark::State& state = *reinterpret_cast<benchmark::State*>(arg); in ExitThread() local
157 state.ResumeTiming(); in ExitThread()
161 static void BM_pthread_exit_and_join(benchmark::State& state) { in BM_pthread_exit_and_join() argument
162 while (state.KeepRunning()) { in BM_pthread_exit_and_join()
163 state.PauseTiming(); in BM_pthread_exit_and_join()
165 pthread_create(&thread, NULL, ExitThread, &state); in BM_pthread_exit_and_join()
171 static void BM_pthread_key_create(benchmark::State& state) { in BM_pthread_key_create() argument
172 while (state.KeepRunning()) { in BM_pthread_key_create()
176 state.PauseTiming(); in BM_pthread_key_create()
178 state.ResumeTiming(); in BM_pthread_key_create()
183 static void BM_pthread_key_delete(benchmark::State& state) { in BM_pthread_key_delete() argument
184 while (state.KeepRunning()) { in BM_pthread_key_delete()
185 state.PauseTiming(); in BM_pthread_key_delete()
188 state.ResumeTiming(); in BM_pthread_key_delete()