Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Profiling with TPTP - plug-in development"
(→Profile a plug-in project) |
(→Profile a plug-in project) |
||
Line 2: | Line 2: | ||
== Profile a plug-in project == | == Profile a plug-in project == | ||
− | * 1. Select | + | * 1. Select a plug-in project and select '''Profile As...''' > '''Eclipse Application'''. |
− | * 2. In profile configuration dialog, | + | ::[[image:Pluginscreen.jpg]] |
+ | * 2. In profile configuration dialog, under '''Monitor''' tab, select '''Java Profiling''' agent, and select '''Edit Option'''. | ||
* 3. In '''Filter''' page, add a new filter. | * 3. In '''Filter''' page, add a new filter. | ||
− | * 4. Input a new filter that include your plug-in packages. | + | * 4. Input a new filter that include your plug-in packages. eg., |
+ | :: org.mysample* * INCLUDE | ||
* 5. Click '''Finish''' to apply filter. | * 5. Click '''Finish''' to apply filter. | ||
* 6. Click '''OK''' to start profile session. | * 6. Click '''OK''' to start profile session. | ||
Line 11: | Line 13: | ||
* 8. Profiling resources (container, host, process, agent, and analysis type) are created in profiling monitor view. | * 8. Profiling resources (container, host, process, agent, and analysis type) are created in profiling monitor view. | ||
* 9. Interact with your Run-time workbench. | * 9. Interact with your Run-time workbench. | ||
− | * 10.In development workbench, open profiling view to show profiling data collected | + | * 10.In development workbench, double-click on an analysis type to open a profiling view to show profiling data collected. |
* 11. | * 11. | ||
* 12. | * 12. | ||
* 13. | * 13. |
Revision as of 23:49, 29 July 2008
Profiling with TPTP :: plug-in development.
Profile a plug-in project
- 1. Select a plug-in project and select Profile As... > Eclipse Application.
- 2. In profile configuration dialog, under Monitor tab, select Java Profiling agent, and select Edit Option.
- 3. In Filter page, add a new filter.
- 4. Input a new filter that include your plug-in packages. eg.,
- org.mysample* * INCLUDE
- 5. Click Finish to apply filter.
- 6. Click OK to start profile session.
- 7. Select Yes to switch to profiling perspective upon request.
- 8. Profiling resources (container, host, process, agent, and analysis type) are created in profiling monitor view.
- 9. Interact with your Run-time workbench.
- 10.In development workbench, double-click on an analysis type to open a profiling view to show profiling data collected.
- 11.
- 12.
- 13.