Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/userspace/syscall_perf/src/
Dtest_supervisor.c17 register unsigned long inst_before, inst_count; in supervisor_thread_function() local
25 inst_before = csr_read(0xB02); in supervisor_thread_function()
37 if (inst_count > inst_before) { in supervisor_thread_function()
38 inst_count -= inst_before; in supervisor_thread_function()
40 inst_count += 0xFFFFFFFF - inst_before; in supervisor_thread_function()
Dtest_user.c17 register unsigned long inst_before, inst_count; in user_thread_function() local
25 inst_before = csr_read(0xC02); in user_thread_function()
37 if (inst_count > inst_before) { in user_thread_function()
38 inst_count -= inst_before; in user_thread_function()
40 inst_count += 0xFFFFFFFF - inst_before; in user_thread_function()