Home > Tools & SDKs > Heterogeneous Computing > Archived Tools > APP Profiler > Getting Started > Using The Visual Studio Plugin
Using The Visual Studio Plugin
- Open an OpenCL™/DirectCompute solution or project file.
- Set a startup project by right clicking on a project and select Set as StartUp Project.
- Compile the project and run it. Make sure it can compile and run successfully.
- The AMD APP Profiler supports two different profiling modes, one which gathers GPU performance counter data and another which gathers timeline and API trace data. Both modes are accessed via the APP Profiler Session Explorer panel, using the Collect GPU Performance Counters button or the Collect Application Trace button. If the APP Profiler Session Explorer Panel is not shown, enable it by selecting View -> Other Windows -> APP Profiler Session Explorer from the Visual Studio main menu bar.
- When gathering GPU performance counter data, the APP Profiler Session panel will appear and be docked as part of the main document panel. This panel shows the GPU performance counters.
- When gathering timeline and API trace data, the APP Profiler Timeline panel will appear and be docked as part of the main document panel. This panel shows the timeline and API trace data. This feature is currently only supported for OpenCL™ applications.
- Profiling results will not appear until after the application terminates, so you may need to manually close your application in order to see the results.