Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
1576 Discussions

Attributing lost cycles to cache misses and mis predictsIdentifying if data locality and branch mis predicts

Hayden_L_
Beginner
99 Views

Is there a way to identify between two code execution points, like for example start and end of a program how many cycles were impacted because of cache misses and branch mispredicts.

I want to understand if the number is meaningful for my application. My application finishes a performance sensitive task in 100ms and I want to know if the total impact of missed caches and mispredicts even comes to let's say 10ms.

0 Kudos
1 Reply
Hayden_L_
Beginner
99 Views

FYI, I know of RESOURCE_STALL.BR_MISS_CLEAR ​-- this is a good general counter. Is there an equivalent for L1D and L2 cache misses also I couldn't find one .. maybe I have to construct one using the ones available, and any help here is appreciated.

Reply