This task analyzes the performance of the target application.
You can choose to profile the entire application or limit the code that is instrumented by specifying a
or use filters to control the classes that are profiled.
When you run this profiling task you receive the following profiling results:
Time in percentage and real time for executing methods in context
Number of times each method is invoked in context
Chains of method calls leading to method invocation
Time / number for executing methods in context
To analyze performance of the application:
Choose Profile > Profile Main Project from the main menu.
Click CPU in the left pane of the Select Profiling Task window.
When you click CPU, the button expands
to give you the option of using the default configuration, creating a new custom configuration
or using an existing custom configuration.
If desired, you can use profiling points to control profiler actions.
Click Run.
When you click Run, the target application launches and the profiling session starts.
Custom Configurations
When you create a custom configuration you have complete control
over all of the available internal settings for that profiling task.
You can create, store, and assign names to separate sets of custom profiling settings.
The custom configuration is associated with a specific project and is listed in the Select Profiling Task window when you profile the project.
You can modify the custom configurations in the Select Profiling Task dialog box.
You can also set more advanced profiling options by clicking Advanced Settings.
Custom configurations are automatically saved between IDE work sessions so that they can be reused and modified.
To create a custom configuration:
Choose Profile > Profile Main Project from the main menu.
Click CPU in the left pane of the Select Task window to expand the button.
Click Create Custom.
Type a name for the configuration.
Select the initial settings for the configuration and click OK.
You then modify the initial settings when you customize the configuration.