How to export the sampling data?

How to export the sampling data?

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 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de 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

Faça login para deixar um comentário.