After configuring the project and modifying the source code to use the profiler API, build and debug your project.
The project halts at the
main() function.
Note:
If you are using the
Debug Configurations
dialog box to debug the project, select the Console External RAM configuration in the tree structure. For example,
<project_name>_M5485EVB_Console_External_RAM_PnE USB BDM.
To collect profiling information:
- Select the
Console
view and click the
Pin Console
button.
- Click
Resume
to resume the program execution.
- Notice the program output messages in the
Console
view and wait until the
I have all the Profile Data message is displayed.
- Click
Terminate
to stop the program execution.
Figure 1.
Console View

This is how you collect profiling data.