Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
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.
Syntax:
$ 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
Example:
This example shows how to run the Advanced Hotspots analysis on myApplication with CPU sampling interval set to 10 ms:
$ amplxe-cl -collect advanced-hotspots -knob sampling-interval=10 -- home/test/myApplication
When the data collection is complete, do one of the following to view the result:
Use the -report action to view the data from command line.
Use the -report-output action to write report to a .txt or .csv file
Open the data collection result (*.amplxe) in the VTune Amplifier graphical interface.