Generate, Save and Load Profile Reports

Once you have collected some samples you can prepare a report at any time. To enable the reporting button, you need to suspend active sampling. You can do this by toggling the Pause/Resume button, or by terminating the Profiler with the Stop button. You have some options for reviewing and sharing the results.

  • View the report
  • File the report in binary or XML format
  • Distribute the report as a Team Review resource
  • Attach the report as a document to an Artifact element
  • Synchronize the model by reverse engineering the source code that participated in the profile.

Access Analyzer | Profiler (execute): View Report




See also

Display Report

Click on the icon in the Profiler toolbar. The generated report displays two views; a weighted call graph

and a summary view:

You can filter and reorganize the information in the report, in the same way as you do for the results of a Model Search.

Customizing the Search View Getting Started

Show or hide unknown frames

By default the report excludes unknown function calls and frames in the call tree. Click on the toolbar button to show or hide these frames.

Display the previous or next incidence of a function

When you select a function, and a call to that function is present in more than one stack, you can click on the and buttons to navigate between all stacks in which the function appears. Navigation is from highest use to lowest.

Set a Node as the root

If you want to examine a deeply-nested branch, you can make it the root node of the report. To do this, click on the node and click on the button. Only function calls emanating from the selected branch will be displayed.

Reset the Root Node

To reset the report to normal click on the button.

Generate a Sequence Diagram

You can generate a Sequence diagram from any node in the Profiler report. To do this, either:

  • Right-click on the node and select the 'Create Sequence Diagram' option
  • Click on the node and click the button in the toolbar

The generated Sequence diagram reflects all activity resulting from the selected node. It is created as a child diagram of the Interaction corresponding to the node, and is displayed immediately.

Save Report to File


  • Click on the button
  • Select the 'Save Report to File' context menu option

The 'Save As' dialog displays. Type the file name of the report and choose whether to export as a binary or a text file.

If you use the binary format the file is smaller, but can only be viewed through an edition of Enterprise Architect.

If you choose the XML format the file might be very large, but of course can be viewed in many text editors.

Load a Saved Report

Click on the button or the 'Load Report' context menu option.

The 'Open' dialog displays, on which you browse for and select the report file.

Click on the Open button; the Call Stack opens or refreshes with the loaded report.

Generate a Function Line report

In the Sampler report, right-click on the name of the function to analyze, and select the 'Create Line report for function' option.

Once the Profiler binds the method, the line report is opened as an additional tab to the current report View.

Function Line reports are saved together with the sample data and will be displayed whenever the file or element is reloaded.

Function Line Reports

Make Report a Team Review Resource

You can save any current report as a resource for a Category, Topic or Post in the Team Review to share and review at any time, as it is saved with the model. The report can also be compared with future runs.

To begin this process, select the menu option 'Team Review Context Menu | Share Resource | Add Active Profiler Report'.

Work on Team Review Items

Attach Report to an Artifact Element

In the Project Browser, select the Package or element under which to create the Artifact element.

On the Call Stack window showing the report, right-click and select the 'Save Report to Artifact' option. You are prompted to provide a name for the report (and element); type this in and click on the OK button.

The Artifact element is created in the Project Browser, underneath the selected Package or element.

If you add the Artifact to a diagram as a simple link, when you double-click on the element the Call Stack window displays, showing the saved report.


Synchronize Code with Model

During its operation, the Profiler generates a collection of relevant code files, which you can reverse-engineer to the current model in a single operation using the 'Synchronize Model' dialog.

Click the button on the toolbar to use this feature.


  • If you add the Profiler report to an Artifact element and also attach a linked document, the Profiler report takes precedence and is displayed when you double-click on the element; you can display the linked document using the 'Edit Linked Document' context menu option

Learn more

Learning Center topics

  • Alt+F1 | Enterprise Architect | Execution Analysis | Profiling Native Code | View Report
  • Alt+F1 | Enterprise Architect | Execution Analysis | Profiling Native Code | Load Report from Disk