Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/test/hardware_sync_spin_lock_test/
Dhardware_sync_spin_lock_test.c82 uint lock_index = xrand_next(&state) & lock_index_mask; in counter_test_per_core() local
83 spin_lock_t *lock = spin_lock_instance(lock_index); in counter_test_per_core()
85 counter_shared[lock_index]++; in counter_test_per_core()
87 counter_local[core_num][lock_index]++; in counter_test_per_core()
101 uint lock_index = xrand_next(&state) & lock_index_mask; in counter_try_test_per_core() local
102 spin_lock_t *lock = spin_lock_instance(lock_index); in counter_try_test_per_core()
106 counter_shared[lock_index]++; in counter_try_test_per_core()
108 counter_local[core_num][lock_index]++; in counter_try_test_per_core()