Home
last modified time | relevance | path

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

/dpdk/app/test/
H A Dtest_timer.c205 static uint16_t lcore_state[RTE_MAX_LCORE]; variable
213 __atomic_store_n(&lcore_state[i], WORKER_WAITING, __ATOMIC_RELAXED); in main_init_workers()
223 __atomic_store_n(&lcore_state[i], WORKER_RUN_SIGNAL, __ATOMIC_RELEASE); in main_start_workers()
226 rte_wait_until_equal_16(&lcore_state[i], WORKER_RUNNING, __ATOMIC_ACQUIRE); in main_start_workers()
236 rte_wait_until_equal_16(&lcore_state[i], WORKER_FINISHED, __ATOMIC_ACQUIRE); in main_wait_for_workers()
245 rte_wait_until_equal_16(&lcore_state[lcore_id], WORKER_RUN_SIGNAL, __ATOMIC_ACQUIRE); in worker_wait_to_start()
246 __atomic_store_n(&lcore_state[lcore_id], WORKER_RUNNING, __ATOMIC_RELEASE); in worker_wait_to_start()
254 __atomic_store_n(&lcore_state[lcore_id], WORKER_FINISHED, __ATOMIC_RELEASE); in worker_finish()