Lines Matching refs:thread_index
247 int thread_index; member
254 int thread_index = ((struct thread_input*)input)->thread_index; in util_queue_thread_func() local
277 snprintf(name, sizeof(name), "%s%i", queue->name, thread_index); in util_queue_thread_func()
288 while (thread_index < queue->num_threads && queue->num_queued == 0) in util_queue_thread_func()
292 if (thread_index >= queue->num_threads) { in util_queue_thread_func()
308 job.execute(job.job, thread_index); in util_queue_thread_func()
311 job.cleanup(job.job, thread_index); in util_queue_thread_func()
338 input->thread_index = index; in util_queue_create_thread()
693 util_queue_get_thread_time_nano(struct util_queue *queue, unsigned thread_index) in util_queue_get_thread_time_nano() argument
696 if (thread_index >= queue->num_threads) in util_queue_get_thread_time_nano()
699 return util_thread_get_time_nano(queue->threads[thread_index]); in util_queue_get_thread_time_nano()