Prev Next

Stack Profile

Usage

Use the Stack Profile mode to produce a report that shows the unique ways in which a function can be invoked during the running of a program. Determine the parts of the model that rely on this function and their frequency.

Operation

Profiler modes are selected using the Profiler control Toolbar. If a Profiler Point is already created, it is displayed. The Profiler Point is the point at which stack traces are captured. You can set the Profiler Point using the Set button on the control itself, once the mode is selected. After deciding on the Profile Point, build the project to be sure everything is up to date, then start the Profiler. The number of unique stack holdings detected is visible during the run. 

Results

A results can be produced by clicking the report button on the Profiler control Toolbar. This button is enabled when either:

  1. Capture is turned off. (using the Pause Button) or
  2. The Profiler is stopped. (using the Stop Button)

The results produced are displayed as a weighted call graph, where the lines on the graph represent a unique stack, and weighted to show the higher frequency stacks first. The report can then be saved, either to file or to the model, using the context menu of the report itself.