Doubt in calculating CPIexe

Doubt in calculating CPIexe

Hi,

I am trying to verify the following equation through the performance counters.
Frequency utilization in a time interval (let's assume 50 ms)

f= IC*CPIexe + Memory Stalls

IC - Instructions retired
CPI-CPI execution
Memory Stalls-IFU_Mem STall

How to determine CPIexe.

CPIexe=(Unhalted Core cycles-Mem Stalls)
Instruction Retired

Is the above equation correct?
Waiting for your replies.

Thank You

1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项