Community
cancel
Showing results for 
Search instead for 
Did you mean: 
kopcarl
Beginner
61 Views

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!
0 Kudos
1 Reply
Peter_W_Intel
Employee
61 Views

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

Reply