Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/samples/userspace/syscall_perf/src/
Dtest_supervisor.c19 register unsigned long inst_before, inst_count; in supervisor_thread_function() local
30 inst_count = csr_read(0xB02); in supervisor_thread_function()
38 if (inst_count > inst_before) { in supervisor_thread_function()
39 inst_count -= inst_before; in supervisor_thread_function()
41 inst_count += 0xFFFFFFFF - inst_before; in supervisor_thread_function()
45 inst_count -= 3; in supervisor_thread_function()
48 cycle_count, inst_count); in supervisor_thread_function()
Dtest_user.c19 register unsigned long inst_before, inst_count; in user_thread_function() local
30 inst_count = csr_read(0xC02); in user_thread_function()
38 if (inst_count > inst_before) { in user_thread_function()
39 inst_count -= inst_before; in user_thread_function()
41 inst_count += 0xFFFFFFFF - inst_before; in user_thread_function()
45 inst_count -= 3; in user_thread_function()
48 cycle_count, inst_count); in user_thread_function()
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_rw_link_format.c132 int ret, inst_count = 0, len = 0; in put_corelink_dimension() local
138 inst_count++; in put_corelink_dimension()
142 len = snprintk(buf, buflen, ";dim=%d", inst_count); in put_corelink_dimension()