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 / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today