AMDProfileControl APIs - AMDProfileControl APIs - 57368

uProf User Guide

Document_ID
57368
Release_Date
2025-06-09
Revision
5.1 English

The AMDProfileControl APIs allow you to limit the profiling scope to a specific portion of the code within the target application. This is particularly helpful when within a long running application, the user wants to focus on performance monitoring and analysis of a specific area of code.

Usually, while profiling an application, samples for the entire control flow of the application execution will be collected, that is, from the start of execution till end of the application execution. The control APIs can be used to enable the profiler to collect data only for a specific part of application, for example, a CPU intensive loop, a hot function etc.

The target application needs to be recompiled after instrumenting that with profiling enable/disable APIs to profile the required code regions only.