Lines Matching full:threads
17 /* Array of worker threads, and their stacks */
22 } threads[NUM_THREADS]; variable
40 } threads[NUM_THREADS]; member
64 int ret = k_msgq_put(&threads[m.target].msgq, &m, K_NO_WAIT); in metairq_fn()
130 int lidx = stats.threads[t].nevt++; in record_latencies()
132 if (lidx < ARRAY_SIZE(stats.threads[t].latencies)) { in record_latencies()
133 stats.threads[t].latencies[lidx] = latency; in record_latencies()
160 if (stats.threads[i].nevt == 0) { in record_latencies()
165 calc_stats(stats.threads[i].latencies, in record_latencies()
166 stats.threads[i].nevt, in record_latencies()
188 int ret = k_msgq_get(&threads[id].msgq, &m, K_FOREVER); in thread_fn()
236 k_msgq_init(&threads[i].msgq, (char *)threads[i].msgq_buf, in main()
239 k_thread_create(&threads[i].thread, in main()