cc-metric-collector/collectors/likwid/groups/k10/ICACHE.txt

24 lines
590 B
Plaintext
Raw Normal View History

2021-03-25 14:47:10 +01:00
SHORT Instruction cache miss rate/ratio
EVENTSET
PMC0 INSTRUCTIONS_RETIRED
PMC1 ICACHE_FETCHES
PMC2 ICACHE_REFILLS_L2
PMC3 ICACHE_REFILLS_MEM
METRICS
Runtime (RDTSC) [s] time
L1I request rate PMC1/PMC0
L1I miss rate (PMC2+PMC3)/PMC0
L1I miss ratio (PMC2+PMC3)/PMC1
LONG
Formulas:
L1I request rate = ICACHE_FETCHES / INSTRUCTIONS_RETIRED
L1I miss rate = (ICACHE_REFILLS_L2+ICACHE_REFILLS_MEM)/INSTRUCTIONS_RETIRED
L1I miss ratio = (ICACHE_REFILLS_L2+ICACHE_REFILLS_MEM)/ICACHE_FETCHES
-
This group measures the locality of your instruction code with regard to the
L1 I-Cache.