You copied the Doc URL to your clipboard.

Code view basics

The Code view helps with the discovery of function-level hot spots. It flattens statistics and displays them at the source and disassembly levels.

By default, the Code view shows the source code next to color-coded statistics. To toggle between viewing the source code only and both source and disassembly, click the disassembly view button.

Figure 7-1 Code view

Code view

The totals panel displays the number of samples collected in the selected code, and this value as a percentage of the total number of samples collected.


All of the sampling data in the Code view is dependent on the filtering selection in the Timeline view. If you have used the caliper controls to filter data in the Timeline view, the sampling data in the Code view reflects this selection.