Community
cancel
Showing results for 
Search instead for 
Did you mean: 
roeltje25
Beginner
41 Views

memory cycles

Hi there,
I was trying to figure out how to measure the number of cycles spent accessing memory. I consider all cycles including L1 hits and misses, L2 hits and misses, L3 hits and misses. am I missing any additional memory related events?
thanks in advance,
Roel
0 Kudos
1 Reply
Peter_W_Intel
Employee
41 Views

Hi Roel,

You can countthe number ofsome MEM_LOAD_RETIRED's extensions(Intel? Core? i7 processor, for example)

MEM_LOAD_RETIRED.L1D_HIT(Mask0x0)
MEM_LOAD_RETIRED.L2HIT (Mask 0x2)
MEM_LOAD_RETIRED.LLC_UNSHARED_HIT (Mask 0x4)
MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM (Mask 0x8)
MEM_LOAD_RETIRED.LLC_MISS (Mask 0x10)

Regards, Peter