advanced-hotspots Command Line Analysis


This analysis is deprecated. Instead, use the hotspots analysis with -knob sampling-mode=hw.

Advanced Hotspots analysis is a fast and easy way to identify performance-critical code sections (hotspots). The periodic instruction pointer sampling performed by Intel® VTune™ Amplifier identifies code locations where an application spends more time than in others. A function may consume much time either because its code is slow or because the function is frequently called. But any improvements in the speed of such functions should have a bigger impact on overall application performance.

VTune Amplifier creates a list of functions in your application ordered by the amount of time spent in each function. By default, Advanced Hotspots analysis does not capture the function call stacks as the hotspots are collected, but it can be used to sample all processes on the system. This type of analysis uses event-based sampling collection and analyzes all the processes running on your system at the moment, providing CPU time data on whole system performance.


$ amplxe-cl -collect advanced-hotspots [-knob [knobName=knobValue]] [--] <target>

Knobs: sampling-interval, collection-detail, event-mode, enable-user-tasks, analyze-openmp


For the most current information on available knobs (configuration options) for the Advanced Hotspots analysis, enter:

$ amplxe-cl -help collect advanced-hotspots


This example shows how to run the Advanced Hotspots analysis on a Linux* myApplication with CPU sampling interval set to 10 ms:

$ amplxe-cl -collect advanced-hotspots -knob sampling-interval=10 -- home/test/myApplication

What's Next

When the data collection is complete, do one of the following to view the result:


For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)