The report generated contains a section for branch analysis. Here is a sample screenshot of the Branch Analysis Summary.
Figure 1. Branch Analysis Summary
The branch analysis summary table comprises of the following columns:
| Column | Description |
|---|---|
| OVERHEAD (%) | Indicates which branching was mostly taken. Calculated as: (SAMPLES * 100)/(Total SAMPLES). |
| SAMPLES | Shows the number of samples collected for the branch. This does not indicate the actual branches taken. |
| MISPREDICT (%) | Indicates ratio of mispredicts occurred for the branch. Calculated as: ((MISPREDICT COUNT) * 100/SAMPLES) |
| MISPREDICT COUNT | Shows the number of branch mis-predicted samples collected for the branch. |
| SOURCE FUNCTION | Shows the function from where the branch was taken. |
| TARGET FUNCTION | Shows the function into which the branch was taken. |
| SOURCE LINE | Shows the file path and line number (from where the branch was taken) of the SOURCE FUNCTION. |
| TARGET LINE | Shows the file path and line number (into which the branch was taken) of the TARGET FUNCTION. |
| SOURCE MODULE | Shows the module name of the SOURCE FUNCTION. |
| TARGET MODULE | Shows the module name of the TARGET FUNCTION. |
| PROCESS | Shows the name and PID of the process. |