Intel® VTune™ Amplifier
Intel® VTune™ Amplifier counts the number of hardware events during the hardware event-based sampling collection to help you understand how the application utilizes available hardware resources. Use the hw-events report type to display hardware events count per application functions in the descending order by default.
This example generates the hw-events report for the specified Advanced Hotspots analysis.
$ amplxe-cl -report hw-events -r r001ah
Function Hardware Event Count: Hardware Event Count: Hardware Event Count: Hardware Event Count: Module Source File Start Address
INST_RETIRED.ANY (K) CPU_CLK_UNHALTED.THREAD (K) CPU_CLK_UNHALTED.REF_TSC (K) BR_INST_RETIRED.NEAR_TAKEN (K)
---------------------------- --------------------- --------------------------- ---------------------------- ------------------------------ ----------------- ----------------- -------------
grid_intersect 11,901,341 16,145,531 17,464,710 1,620,825 analyze_locks grid.cpp 0x40d340
sphere_intersect 7,944,651 10,759,847 11,794,832 934,564 analyze_locks sphere.cpp 0x409ef0
grid_bounds_intersect 845,537 1,190,025 1,299,113 86,424 analyze_locks grid.cpp 0x40e4a0
Gdiplus::Graphics::DrawImage 667,500 1,255,001 1,246,747 47,194 analyze_locks gdiplusgraphics.h 0x402b10
video::next_frame 241,619 279,866 212,356 24,419 analyze_locks winvideo.h 0x4035f0
pos2grid 195,869 269,137 294,850 18,410 analyze_locks grid.cpp 0x40e730
tri_intersect 173,193 271,435 296,786 14,919 analyze_locks triangle.cpp 0x40a1e0
shader 172,992 269,044 314,679 21,040 analyze_locks shade.cpp 0x404730
Raypnt 162,623 206,349 204,826 26,100 analyze_locks vector.cpp 0x403ec0
...