Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/bench/
Dfutex-wake.c36 static pthread_cond_t thread_parent, thread_worker; variable
60 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
152 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake()
165 pthread_cond_broadcast(&thread_worker); in bench_futex_wake()
195 pthread_cond_destroy(&thread_worker); in bench_futex_wake()
Dfutex-requeue.c35 static pthread_cond_t thread_parent, thread_worker; variable
72 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
147 pthread_cond_init(&thread_worker, NULL); in bench_futex_requeue()
160 pthread_cond_broadcast(&thread_worker); in bench_futex_requeue()
201 pthread_cond_destroy(&thread_worker); in bench_futex_requeue()
Dfutex-lock-pi.c36 static pthread_cond_t thread_parent, thread_worker; variable
80 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
171 pthread_cond_init(&thread_worker, NULL); in bench_futex_lock_pi()
183 pthread_cond_broadcast(&thread_worker); in bench_futex_lock_pi()
197 pthread_cond_destroy(&thread_worker); in bench_futex_lock_pi()
Dfutex-hash.c35 static pthread_cond_t thread_parent, thread_worker; variable
68 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
147 pthread_cond_init(&thread_worker, NULL); in bench_futex_hash()
176 pthread_cond_broadcast(&thread_worker); in bench_futex_hash()
190 pthread_cond_destroy(&thread_worker); in bench_futex_hash()
Dfutex-wake-parallel.c38 static pthread_cond_t thread_parent, thread_worker; variable
104 pthread_cond_wait(&thread_worker, &thread_lock); in blocked_workerfn()
249 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake_parallel()
263 pthread_cond_broadcast(&thread_worker); in bench_futex_wake_parallel()
286 pthread_cond_destroy(&thread_worker); in bench_futex_wake_parallel()