Lines Matching refs:NUM_CPUS
26 #define NUM_CPUS MIN(32, MIN(CONFIG_MP_MAX_NUM_CPUS, CONFIG_POSIX_THREAD_THREADS_MAX)) macro
34 static bool alive[NUM_CPUS];
37 static K_THREAD_STACK_ARRAY_DEFINE(thread_stacks, NUM_CPUS, STACK_SIZE);
39 static struct k_thread k_threads[NUM_CPUS];
40 static uint64_t counters[NUM_CPUS];
41 static uint64_t prev_counters[NUM_CPUS];
45 for (int i = 0; i < NUM_CPUS; ++i) { in print_stats()
56 for (int i = 0; i < NUM_CPUS; ++i) { in print_group_stats()
60 printf("%s, ALL, %u, %llu, %u, %llu\n", tag, CONFIG_TEST_DURATION_S, count, NUM_CPUS, in print_group_stats()
61 count / CONFIG_TEST_DURATION_S / NUM_CPUS); in print_group_stats()
72 for (i = 0; i < NUM_CPUS; ++i) { in create_join_common()
85 for (i = 0; i < NUM_CPUS; ++i) { in create_join_common()
115 for (i = 0; IS_ENABLED(CONFIG_ASSERT) && i < NUM_CPUS; ++i) { in create_join_common()
166 static pthread_t pthreads[NUM_CPUS];
167 static pthread_attr_t pthread_attrs[NUM_CPUS];
197 printf("NUM_CPUS: %u\n", NUM_CPUS); in setup()
211 for (int i = 0; i < NUM_CPUS; ++i) { in setup()
230 for (int i = 0; i < NUM_CPUS; ++i) { in before()