Searched refs:thread_worker (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/tools/perf/bench/ |
D | futex-wake.c | 43 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()
|
D | futex-requeue.c | 42 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()
|
D | futex-hash.c | 42 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()
|
D | futex-lock-pi.c | 42 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()
|
D | futex-wake-parallel.c | 53 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()
|