Creating and Launching a New Analyze Session
When you run the Code Analyzer, you create an Analyze Session, which
contains the configuration data for collecting performance information
and the results of the analysis run. You can explore the analysis sessions
in the Analyze Sessions Explorer window.
To create and run an Analysis session, do the following:
- Go to Tools > Intel Code Builder for OpenCL API >
OpenCL Application Analysis > New Analysis Session....
The OpenCL Application Analysis Session dialog box
appears.
- In the Application Setting section, specify information
about the application that you want to analyze:
- In the Application field, enter, or browse
to, the full path and executable file name of the target application.
- In the Arguments field, enter the command-line
options to use when launching the target application.
- In the Working Directory field, optionally
enter the working directory for the target application.
To use the directory specified in the Application
field, check the Use application directory as working
directory box.
- In the Session Name section, enter a meaningful name
for the session.
- Verify that the Start Automatically on Process Launch check
box is checked, and click Launch.
Your application is launched and the Code Analyzer starts to collect
data.
While the application is running, a new session run tab is opened in
the main Visual Studio* window.
During the session, you can do the following:
- Click Pause/Resume analysis button in the session run tab
to pause or resume data collection.
- Exercise the functionality that might cause performance issues.
- Click Close analysis to stop the analysis.