Home
last modified time | relevance | path

Searched refs:thread_worker (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/tools/perf/bench/
Dfutex-wake.c44 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()
Dfutex-requeue.c43 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()
Dfutex-hash.c44 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()
Dfutex-lock-pi.c44 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()
Dfutex-wake-parallel.c54 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()
Depoll-ctl.c66 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()
Depoll-wait.c117 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()