Searched refs:thread_worker (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.10/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() 163 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake() 176 pthread_cond_broadcast(&thread_worker); in bench_futex_wake() 206 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() 158 pthread_cond_init(&thread_worker, NULL); in bench_futex_requeue() 171 pthread_cond_broadcast(&thread_worker); in bench_futex_requeue() 212 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() 161 pthread_cond_init(&thread_worker, NULL); in bench_futex_hash() 190 pthread_cond_broadcast(&thread_worker); in bench_futex_hash() 204 pthread_cond_destroy(&thread_worker); in bench_futex_hash()
|
| D | futex-lock-pi.c | 43 static pthread_cond_t thread_parent, thread_worker; variable 88 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() 279 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake_parallel() 293 pthread_cond_broadcast(&thread_worker); in bench_futex_wake_parallel() 316 pthread_cond_destroy(&thread_worker); in bench_futex_wake_parallel()
|
| D | epoll-ctl.c | 65 static pthread_cond_t thread_parent, thread_worker; variable 182 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 | 116 static pthread_cond_t thread_parent, thread_worker; variable 197 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()
|