Call Tree

To view call tree data:

  1. In the Software Analysis view, expand the project name.

    The data source is listed under the project name.

  2. Click the Call Tree hyperlink.

    The Call Tree viewer appears.

    Figure 1. Call Tree Viewer
    Call Tree Viewer

In the Call Tree viewer, START is the root of the tree. You can click "+" to expand the tree and "-" to collapse the tree. It shows the biggest depth for stack utilization in Call Tree and the functions on this call path are displayed in green color.

The Call Tree nodes are synchronized with the source code. You can double-click the node to view the source code.

The table below describe the fields of Call Tree data. The columns are movable; you can move the columns to the left or right of another column depending on your requirements by dragging and dropping.

Table 1. Call Tree Viewer Fields
Name Description
Function Name Name of function that has executed.
Num Calls Number of times function has executed.
% Total calls of parent Percent of number of function calls from total number of calls in the application.
% Total times it was called Percent of number of times a function was called.
Inclusive Time Cumulative count during execution time spent from function entry to exit.

You can set CPU frequency and set Inclusive Time displayed in the Call Tree viewer in cycles, milliseconds, microseconds, and nanoseconds. Click the Configure Table button to configure time unit and set CPU frequency. For more information, refer Configuring Time Unit and Time Format.

Note: While a debug session is running, if you relaunch the same debug session by clicking the Debug icon or pressing the F11 key, the trace data is not collected anymore for the initial debug session. An error message will appear, as shown in the figure below. On clicking OK, the second debug session will terminate and trace will not collect.To collect trace, terminate the initial debug session and start it again.
Figure 2. Error Message
Error Message