Getting Started

Access    Analyzer | Profile

Topics

Topic

Detail

See also

Abstract

The Profiler operates by taking samples of a process at intervals of up to 250 milliseconds.

At these intervals the Profiler interrupts the process and collects stack information for all threads running at that time; this information is sent back to Enterprise Architect where it is collected sorted and and stored.

You can pause and resume profiling at any time during the session, or clear any sample data collected and begin again.

If you stop the Profiler and the process is still running, you can quickly attach to it again.

 

 

Toolbar Options:

Icon

Action

See also

Profstart

(When an application is configured for the package) create the Profiler process, which launches the configured application.

 

Managing Scripts

Profattach

Profile an application that is already running.

 

 

Profsample ProfsampleOn

When the application is running, pause and resume sample capture.

Pausing sampling enables the Report and Erase buttons.

 

 

Profstop

Stop the Profiler process; if any samples have been collected, the Report button is enabled.

 

 

Profreport

Generate a report on the current number of samples collected.

Profiling Native Application

Profint

Set the interval, in milliseconds, at which samples are taken of the target process; the range of possible values is 1 - 250.

 

Setting Options

Profopt

Set Profiler options, using a drop-down menu; the options are:

Load Report from Disk - load and display a previously-generated report from an XML disk file
Analyzer Scripts ( Shift+F12 ) - display the Execution Analyzer window to enable creation or editing of scripts and debug configuration
Start Sampling Immediately - begin sample collection immediately upon either process start (main thread entry point executed) or attachment of process by Profiler
Capture Debug output - capture any appropriate debug output and redirect it to the Enterprise Architect Output window
Stop Process on Exit - select to terminate the target process when the Profiler is stopped

 

Analyzer Scripts

Proferase

Erase the collected data.

 

 

scenHelp

Display the Help topic for this window.