Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/userspace/syscall_perf/src/
Dtest_supervisor.c16 register unsigned long cycle_before, cycle_count; in supervisor_thread_function() local
26 cycle_before = csr_read(0xB00); in supervisor_thread_function()
31 if (cycle_count > cycle_before) { in supervisor_thread_function()
32 cycle_count -= cycle_before; in supervisor_thread_function()
34 cycle_count += 0xFFFFFFFF - cycle_before; in supervisor_thread_function()
Dtest_user.c16 register unsigned long cycle_before, cycle_count; in user_thread_function() local
26 cycle_before = csr_read(0xC00); in user_thread_function()
31 if (cycle_count > cycle_before) { in user_thread_function()
32 cycle_count -= cycle_before; in user_thread_function()
34 cycle_count += 0xFFFFFFFF - cycle_before; in user_thread_function()