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

Running hotspots Analysis from the Command Line

Basic Hotspots analysis helps understand application flow and identify sections of code that get a lot of execution time (hotspots). A large number of samples collected at a specific process, thread, or module can imply high processor utilization and potential performance bottlenecks. Some hotspots can be removed, while other hotspots are fundamental to the application functionality and cannot be removed.

Intel® VTune™ Amplifier creates a list of functions in your application ordered by the amount of time spent in each function. It also caprtures the call stacks for each of these functions so you can see how the hot functions are called.

VTune Amplifier uses a low overhead (about 5%) user-mode sampling and tracing collection that gets you the information you need without slowing down application execution significantly.

Syntax:

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

Knobs: sampling-interval, enable-user-tasks, analyze-openmp.

Note

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

$ amplxe-cl -help collect hotspots

Example:

This example shows how to run the Basic Hotspots analysis on myApplication with predefined settings:

$ amplxe-cl -collect hotspots -- home/test/myApplication

What's Next

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

関連情報