Searched refs:thread_worker (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/tools/perf/bench/ |
| D | futex-wake.c | 38 static pthread_cond_t thread_parent, thread_worker; variable 72 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 173 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake() 186 pthread_cond_broadcast(&thread_worker); in bench_futex_wake() 218 pthread_cond_destroy(&thread_worker); in bench_futex_wake()
|
| D | futex-hash.c | 40 static pthread_cond_t thread_parent, thread_worker; variable 80 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 168 pthread_cond_init(&thread_worker, NULL); in bench_futex_hash() 197 pthread_cond_broadcast(&thread_worker); in bench_futex_hash() 211 pthread_cond_destroy(&thread_worker); in bench_futex_hash()
|
| D | futex-lock-pi.c | 40 static pthread_cond_t thread_parent, thread_worker; variable 90 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 191 pthread_cond_init(&thread_worker, NULL); in bench_futex_lock_pi() 203 pthread_cond_broadcast(&thread_worker); in bench_futex_lock_pi() 217 pthread_cond_destroy(&thread_worker); in bench_futex_lock_pi()
|
| D | futex-requeue.c | 38 static pthread_cond_t thread_parent, thread_worker; variable 89 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 203 pthread_cond_init(&thread_worker, NULL); in bench_futex_requeue() 216 pthread_cond_broadcast(&thread_worker); in bench_futex_requeue() 290 pthread_cond_destroy(&thread_worker); in bench_futex_requeue()
|
| D | futex-wake-parallel.c | 53 static pthread_cond_t thread_parent, thread_worker; variable 132 pthread_cond_wait(&thread_worker, &thread_lock); in blocked_workerfn() 288 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake_parallel() 302 pthread_cond_broadcast(&thread_worker); in bench_futex_wake_parallel() 325 pthread_cond_destroy(&thread_worker); in bench_futex_wake_parallel()
|
| D | epoll-ctl.c | 64 static pthread_cond_t thread_parent, thread_worker; variable 181 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 359 pthread_cond_init(&thread_worker, NULL); in bench_epoll_ctl() 370 pthread_cond_broadcast(&thread_worker); in bench_epoll_ctl() 385 pthread_cond_destroy(&thread_worker); in bench_epoll_ctl()
|
| D | epoll-wait.c | 115 static pthread_cond_t thread_parent, thread_worker; variable 196 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 477 pthread_cond_init(&thread_worker, NULL); in bench_epoll_wait() 488 pthread_cond_broadcast(&thread_worker); in bench_epoll_wait() 513 pthread_cond_destroy(&thread_worker); in bench_epoll_wait()
|