Searched refs:inst_count (Results 1 – 3 of 3) sorted by relevance
19 register unsigned long inst_before, inst_count; in supervisor_thread_function() local30 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()
19 register unsigned long inst_before, inst_count; in user_thread_function() local30 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()
132 int ret, inst_count = 0, len = 0; in put_corelink_dimension() local138 inst_count++; in put_corelink_dimension()142 len = snprintk(buf, buflen, ";dim=%d", inst_count); in put_corelink_dimension()