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!
For more complete information about compiler optimizations, see our Optimization Notice.