How to export the sampling data?

How to export the sampling data?

Ritratto di kopcarl

I divide a program into 10 parts. And I need to calculate CPI of each part, which is the result of CPU_CLK_UNHALTED.CORE / INST_RETIRE.ANY. So I need to export the time varying hardware event data. But I failed. Can anyone help me? Thanks!

2 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Peter Wang (Intel)

You can go source view to find any part, then select multiple source lineswith performance data ("CPU Time" & "Instruction Retired" - for example), right-click on "Copy to Clipboard". Thus, you canpaste the result into any file to calculate totalof CPUTime, total of Instructions Retired for this part, finally get CPI value of this part.

Regards, Peter

Accedere per lasciare un commento.