Lines Matching refs:state

25 static void BM_pthread_self(benchmark::State& state) {  in BM_pthread_self()  argument
26 while (state.KeepRunning()) { in BM_pthread_self()
32 static void BM_pthread_getspecific(benchmark::State& state) { in BM_pthread_getspecific() argument
36 while (state.KeepRunning()) { in BM_pthread_getspecific()
44 static void BM_pthread_setspecific(benchmark::State& state) { in BM_pthread_setspecific() argument
48 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()
117 static void BM_pthread_mutex_lock_PI(benchmark::State& state) { in BM_pthread_mutex_lock_PI() argument
120 while (state.KeepRunning()) { in BM_pthread_mutex_lock_PI()
127 static void BM_pthread_mutex_lock_ERRORCHECK_PI(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK_PI() argument
130 while (state.KeepRunning()) { in BM_pthread_mutex_lock_ERRORCHECK_PI()
137 static void BM_pthread_mutex_lock_RECURSIVE_PI(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE_PI() argument
140 while (state.KeepRunning()) { in BM_pthread_mutex_lock_RECURSIVE_PI()
147 static void BM_pthread_rwlock_read(benchmark::State& state) { in BM_pthread_rwlock_read() argument
151 while (state.KeepRunning()) { in BM_pthread_rwlock_read()
160 static void BM_pthread_rwlock_write(benchmark::State& state) { in BM_pthread_rwlock_write() argument
164 while (state.KeepRunning()) { in BM_pthread_rwlock_write()
177 static void BM_pthread_create(benchmark::State& state) { in BM_pthread_create() argument
178 while (state.KeepRunning()) { in BM_pthread_create()
181 state.PauseTiming(); in BM_pthread_create()
183 state.ResumeTiming(); in BM_pthread_create()
192 static void BM_pthread_create_and_run(benchmark::State& state) { in BM_pthread_create_and_run() argument
193 while (state.KeepRunning()) { in BM_pthread_create_and_run()
195 pthread_create(&thread, nullptr, RunThread, &state); in BM_pthread_create_and_run()
205 static void BM_pthread_exit_and_join(benchmark::State& state) { in BM_pthread_exit_and_join() argument
206 while (state.KeepRunning()) { in BM_pthread_exit_and_join()
214 static void BM_pthread_key_create(benchmark::State& state) { in BM_pthread_key_create() argument
215 while (state.KeepRunning()) { in BM_pthread_key_create()
219 state.PauseTiming(); in BM_pthread_key_create()
221 state.ResumeTiming(); in BM_pthread_key_create()
226 static void BM_pthread_key_delete(benchmark::State& state) { in BM_pthread_key_delete() argument
227 while (state.KeepRunning()) { in BM_pthread_key_delete()
228 state.PauseTiming(); in BM_pthread_key_delete()
231 state.ResumeTiming(); in BM_pthread_key_delete()