For example, Vtune will analysis all codes and then draw CPU Utilization Histogram. But I only want vtune to analysis special code lines, such as 1000th-2000th code lines. How to do this?
Hello, __itt_pause/__itt_resume API can help to mark code for analysis. More details: Collection Control API
For more complete information about compiler optimizations, see our Optimization Notice.