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 see both code and disassembly instructions, click the Disassembly view button to display the Disassembly view.
Figure 8-1 The Code View
The Code view presents the percentage each source line or disassembly entry contributed to the total samples collected for the function.
Figure 8-2 The Totals panel