Searched refs:thread_worker (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/tools/perf/bench/ |
D | futex-wake.c | 36 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()
|
D | futex-requeue.c | 35 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()
|
D | futex-lock-pi.c | 36 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()
|
D | futex-hash.c | 35 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()
|
D | futex-wake-parallel.c | 38 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()
|