Lines Matching refs:waking_worker
183 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run() argument
193 update_stats(&__waketime_stats, waking_worker[i].runtime.tv_usec); in print_run()
194 update_stats(&__wakeup_stats, waking_worker[i].nwoken); in print_run()
224 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats() argument
229 update_stats(&waketime_stats, waking_worker[i].runtime.tv_usec); in do_run_stats()
230 update_stats(&wakeup_stats, waking_worker[i].nwoken); in do_run_stats()
247 struct thread_data *waking_worker; in bench_futex_wake_parallel() local
307 waking_worker = calloc(params.nwakes, sizeof(*waking_worker)); in bench_futex_wake_parallel()
308 if (!waking_worker) in bench_futex_wake_parallel()
324 wakeup_threads(waking_worker); in bench_futex_wake_parallel()
332 do_run_stats(waking_worker); in bench_futex_wake_parallel()
334 print_run(waking_worker, j); in bench_futex_wake_parallel()
336 free(waking_worker); in bench_futex_wake_parallel()