インテル® VTune™ Amplifier 2018 ヘルプ

Running advanced-hotspots Analysis from the Command Line

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

Note

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

What's Next

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

関連情報