Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/spinlock/src/
Dspinlock_fairness.c15 #define CORES_NUM CONFIG_MP_MAX_NUM_CPUS macro
20 static K_THREAD_STACK_ARRAY_DEFINE(tstack, CORES_NUM, STACK_SIZE);
21 static struct k_thread tthread[CORES_NUM];
22 static uint32_t spinlock_grabbed[CORES_NUM];
83 atomic_set(&start_sync, CORES_NUM); in test_init()
84 atomic_set(&fairness_test_cycles, FAIRNESS_TEST_CYCLES_PER_CORE * CORES_NUM); in test_init()
86 for (uintptr_t core_id = 0; core_id < CORES_NUM; core_id++) { in test_init()
129 for (uint8_t core_id = 0; core_id < CORES_NUM; core_id++) { in ZTEST()
135 for (uint8_t core_id = 0; core_id < CORES_NUM; core_id++) { in ZTEST()
142 for (uint8_t core_id = 0; core_id < CORES_NUM; core_id++) { in ZTEST()
[all …]
/Zephyr-latest/samples/arch/smp/pi/src/
Dmain.c23 #define CORES_NUM arch_num_cpus() macro
25 #define CORES_NUM 1 macro
114 CORES_NUM, nanoseconds_spent / 1000 / 1000); in main()