Searched refs:thread_worker (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/tools/perf/bench/ |
| D | futex-wake.c | 44 static pthread_cond_t thread_parent, thread_worker; variable 68 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 162 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake() 175 pthread_cond_broadcast(&thread_worker); in bench_futex_wake() 205 pthread_cond_destroy(&thread_worker); in bench_futex_wake()
|
| D | futex-requeue.c | 43 static pthread_cond_t thread_parent, thread_worker; variable 80 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 157 pthread_cond_init(&thread_worker, NULL); in bench_futex_requeue() 170 pthread_cond_broadcast(&thread_worker); in bench_futex_requeue() 211 pthread_cond_destroy(&thread_worker); in bench_futex_requeue()
|
| D | futex-hash.c | 44 static pthread_cond_t thread_parent, thread_worker; variable 78 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 160 pthread_cond_init(&thread_worker, NULL); in bench_futex_hash() 189 pthread_cond_broadcast(&thread_worker); in bench_futex_hash() 203 pthread_cond_destroy(&thread_worker); in bench_futex_hash()
|
| D | futex-lock-pi.c | 44 static pthread_cond_t thread_parent, thread_worker; variable 89 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 184 pthread_cond_init(&thread_worker, NULL); in bench_futex_lock_pi() 196 pthread_cond_broadcast(&thread_worker); in bench_futex_lock_pi() 210 pthread_cond_destroy(&thread_worker); in bench_futex_lock_pi()
|
| D | futex-wake-parallel.c | 54 static pthread_cond_t thread_parent, thread_worker; variable 129 pthread_cond_wait(&thread_worker, &thread_lock); in blocked_workerfn() 278 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake_parallel() 292 pthread_cond_broadcast(&thread_worker); in bench_futex_wake_parallel() 315 pthread_cond_destroy(&thread_worker); in bench_futex_wake_parallel()
|
| D | epoll-ctl.c | 66 static pthread_cond_t thread_parent, thread_worker; variable 183 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 360 pthread_cond_init(&thread_worker, NULL); in bench_epoll_ctl() 371 pthread_cond_broadcast(&thread_worker); in bench_epoll_ctl() 386 pthread_cond_destroy(&thread_worker); in bench_epoll_ctl()
|
| D | epoll-wait.c | 117 static pthread_cond_t thread_parent, thread_worker; variable 198 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 478 pthread_cond_init(&thread_worker, NULL); in bench_epoll_wait() 489 pthread_cond_broadcast(&thread_worker); in bench_epoll_wait() 514 pthread_cond_destroy(&thread_worker); in bench_epoll_wait()
|