其他分享
首页 > 其他分享> > Intel® VTune™ Profiler ——异常检测,没有感觉到惊艳,性能的话还是热点分析更好用,另外microarch 分析可以深入cpu看性能问题

Intel® VTune™ Profiler ——异常检测,没有感觉到惊艳,性能的话还是热点分析更好用,另外microarch 分析可以深入cpu看性能问题

作者:互联网

一开始需要安装一个driver!

 

Install the Sampling Drivers for Windows* Targets To install the drivers on Windows* 7 (deprecated) and Windows* Server 2008 R2 operating systems, you must enable the SHA-2 code signing support for these systems by applying Microsoft Security update 3033929. If the security update is not installed, event-based sampling analysis types will not work properly on your system. To verify the sampling driver is installed correctly on a Microsoft Windows* OS, open the command prompt as an administrator and run the amplxe-sepreg.exe utility located at < install-dir >/bin64 . To make sure your system meets all the requirements necessary for the hardware event-based sampling collection, enter: amplxe-sepreg.exe -c This command performs the following dependency checks required to install the sampling driver: To check whether the sampling driver is loaded, enter: amplxe-sepreg.exe -s If the sampling driver is not installed but the system is supported by the VTune Profiler , execute the following command with the administrative privileges to install the driver: amplxe-sepreg.exe -i      

 

使用amplxe-sepreg.exe -i 安装成功后!

管理员运行即出现:

 

 

 

修改为10ms,开始运行:

 

 

可以看到在进行硬件指令数据采集的时候,几乎是不占用CPU的!!!

 

group那里没有event cpu数据???咋回事???是因为选择的模式不对!!只有microarchtecture 分析才会有!!!

 

 

在这里,才有CPU event count,

 

 

注意采集的数据非常大!采用1ms,有700多MB数据!!!

 

 

 

 

 

 

 

标签:VTune,exe,Intel,性能,driver,sampling,amplxe,sepreg,event
来源: https://www.cnblogs.com/bonelee/p/16545551.html