Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/bench/
Dfutex-wake.c43 static pthread_cond_t thread_parent, thread_worker; variable
67 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
161 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake()
174 pthread_cond_broadcast(&thread_worker); in bench_futex_wake()
204 pthread_cond_destroy(&thread_worker); in bench_futex_wake()
Dfutex-requeue.c42 static pthread_cond_t thread_parent, thread_worker; variable
79 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
156 pthread_cond_init(&thread_worker, NULL); in bench_futex_requeue()
169 pthread_cond_broadcast(&thread_worker); in bench_futex_requeue()
210 pthread_cond_destroy(&thread_worker); in bench_futex_requeue()
Dfutex-hash.c42 static pthread_cond_t thread_parent, thread_worker; variable
76 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
158 pthread_cond_init(&thread_worker, NULL); in bench_futex_hash()
187 pthread_cond_broadcast(&thread_worker); in bench_futex_hash()
201 pthread_cond_destroy(&thread_worker); in bench_futex_hash()
Dfutex-lock-pi.c42 static pthread_cond_t thread_parent, thread_worker; variable
87 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
182 pthread_cond_init(&thread_worker, NULL); in bench_futex_lock_pi()
194 pthread_cond_broadcast(&thread_worker); in bench_futex_lock_pi()
208 pthread_cond_destroy(&thread_worker); in bench_futex_lock_pi()
Dfutex-wake-parallel.c53 static pthread_cond_t thread_parent, thread_worker; variable
128 pthread_cond_wait(&thread_worker, &thread_lock); in blocked_workerfn()
277 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake_parallel()
291 pthread_cond_broadcast(&thread_worker); in bench_futex_wake_parallel()
314 pthread_cond_destroy(&thread_worker); in bench_futex_wake_parallel()