Annotated Source and Disassembly Code

Related Topics:

Clock-Based Profiling Data Callers-Callees Function Metrics
Synchronization Wait Tracing Data Hardware Counter Overflow Profiling Data

The information in the Function List display helps you to identify potential execution delays. Once you have identified a problem function and the possible cause of the problem, it is helpful to look at annotated source and disassembly code for the function, to see whether there is an identifiable bottleneck in the code.

From the Function List display, you can open a text editor displaying the source code for a selected function, annotated line by line with performance metrics, or disassembly code annotated instruction by instruction and interleaved with the source code, so you can identify any line or instruction that is causing the delay. In addition, compiler commentary is displayed with the annotated source or disassembly code if it is available.

See Displaying Annotated Source and Disassembly Code for a Function for information on how to generate annotated function code.

The metric names are displayed in a header line at the top of the annotated file. They match the current settings in the functions list.