Skip to content

Performance Counters

Florian Zaruba edited this page Oct 18, 2018 · 2 revisions

Ariane contains a couple of performance counters which can be accessed by software via csr instructions.

Address Name Description
0xB00 mcycle Machine cycle counter
0xB02 minstret Machine instruction-retired counter
0xB03 l1_icache_miss L1 instruction cache miss
0xB04 l1_dcache_miss L1 data chache miss
0xB05 itlb_miss Instruction TLB miss
0xB06 dtlb_miss Data TLB miss
0xB07 load Load instruction counter
0xB08 store Store instruction counter
0xB09 exception Exception counter
0xB0A exception_ret Return from exception counter
0xB0B branch_jump All control flow instructions
0xB0C call Function call counter
0xB0D return Return from function counter
0xB0E mispredict Mispredict counter
0xB0F sb_full Scoreboard was full
0xB10 fetch_fifo_empty Instruction fetch queue is empty
Clone this wiki locally