Control Data Collection
Explore options to run, stop, cancel, or pause your performance analysis with
Intel® VTune™
.
Profiler
Run Analysis from Standalone Interface
To run an analysis:
- From theConfigure Analysiswindow:
- Specify an analysis system from theWHEREpane.
- Specify an analysis target from theWHATpane.
- Select an analysis type from theHOWpane.
- At the bottom of theConfigure Analysiswindow, click theStartbutton to run the analysis.To pause the analysis at the application start and then manually resume it when required, click theStart Pausedbutton.
The
Start
button may be disabled if you either did not specify the analysis target or selected the analysis type that is not supported by your processor.
Run Analysis from the Microsoft Visual Studio* IDE
- Open your target in Visual Studio.
- Build your target in the Release mode in the development environment of your choice.
- Click theConfigure Analysisbutton on theVTunetoolbar to choose and configure an analysis type in theProfilerConfigure Analysiswindow.
- At the bottom of theConfigure Analysiswindow, click theStartbutton to run the analysis.To pause the analysis at the application start and then manually resume it when required, click theStart Pausedbutton.
Stop/Cancel the Analysis
When you run the analysis, the command toolbar at the bottom of the
Configure Analysis
window is updated with a set of buttons for managing the data collection.
- To stop the analysis, click theStopbutton or pressCtrl-C.VTunestops collecting data and opens the analysis result.Profiler
- To cancel the analysis, click theCancelbutton.VTunestops collecting data and displays the warning message:ProfilerCollection was cancelled by the user. The data cannot be displayed.
Open Analysis Results
VTune
analyzes the target, finalizes the result, and opens the collected data in the default viewpoint. The data collection results ( Profiler
*.
file) show up in the Solution Explorer (for the
vtune
VTune
integrated into Visual Studio)/Project Navigator (standalone) under the project folder, in the alphabetical order. For executable files imported to the Visual Studio project, the data result node appears at the solution level. Double-click a result to open the collected data in the default viewpoint.
Profiler
- You can provide a meaningful name for the result (for example, application name) for better identification. To do this, select the result, right-click and chooseRename. The file extension*.cannot be changed.vtune
- To change the result name template or the default directory for result location, go toTools > Options(orOptions...in the standalone interface menu) and selectfrom the left pane of theIntel VTuneProfilerversion> Result LocationOptionsdialog box.
- You may program hot keys to start/stop a particular analysis. For more details, see http://software.intel.com/en-us/articles/using-hot-keys-in-vtune-amplifier-xe/.