Home | History | Annotate | Download | only in benchmarks

Lines Matching refs:state

25 static void BM_pthread_self(benchmark::State& state) {
26 while (state.KeepRunning()) {
32 static void BM_pthread_getspecific(benchmark::State& state) {
36 while (state.KeepRunning()) {
44 static void BM_pthread_setspecific(benchmark::State& state) {
48 while (state.KeepRunning()) {
59 static void BM_pthread_once(benchmark::State& state) {
63 while (state.KeepRunning()) {
69 static void BM_pthread_mutex_lock(benchmark::State& state) {
72 while (state.KeepRunning()) {
79 static void BM_pthread_mutex_lock_ERRORCHECK(benchmark::State& state) {
82 while (state.KeepRunning()) {
89 static void BM_pthread_mutex_lock_RECURSIVE(benchmark::State& state) {
92 while (state.KeepRunning()) {
118 static void BM_pthread_mutex_lock_PI(benchmark::State& state) {
121 while (state.KeepRunning()) {
128 static void BM_pthread_mutex_lock_ERRORCHECK_PI(benchmark::State& state) {
131 while (state.KeepRunning()) {
138 static void BM_pthread_mutex_lock_RECURSIVE_PI(benchmark::State& state) {
141 while (state.KeepRunning()) {
148 static void BM_pthread_rwlock_read(benchmark::State& state) {
152 while (state.KeepRunning()) {
161 static void BM_pthread_rwlock_write(benchmark::State& state) {
165 while (state.KeepRunning()) {
178 static void BM_pthread_create(benchmark::State& state) {
179 while (state.KeepRunning()) {
182 state.PauseTiming();
184 state.ResumeTiming();
193 static void BM_pthread_create_and_run(benchmark::State& state) {
194 while (state.KeepRunning()) {
196 pthread_create(&thread, NULL, RunThread, &state);
206 static void BM_pthread_exit_and_join(benchmark::State& state) {
207 while (state.KeepRunning()) {
215 static void BM_pthread_key_create(benchmark::State& state) {
216 while (state.KeepRunning()) {
220 state.PauseTiming();
222 state.ResumeTiming();
227 static void BM_pthread_key_delete(benchmark::State& state) {
228 while (state.KeepRunning()) {
229 state.PauseTiming();
232 state.ResumeTiming();