Home
last modified time | relevance | path

Searched refs:NUM_CPUS (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/benchmarks/posix/threads/src/
Dmain.c26 #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()
[all …]
/Zephyr-latest/tests/benchmarks/posix/threads/
DREADME.rst17 NUM_CPUS: 1