|Re: profile only parts of application [message #132635 is a reply to message #132014]
||Mon, 14 July 2008 07:41
| Asaf Yaffe
Registered: July 2009
First, note that you should use TPTP 4.5 with Ganymede. I am not sure
whether TPTP 4.3 is fully supported on Ganymede.
With TPTP 4.5, you have multiple ways of profiling specific parts of
your application. Here's a summary:
1. Use filters. In the Monitor tab, you can configure the profiling
agent to collect data only for specific classes. The best approach for
profiling Eclipse plugins is to define a filter that INCLUDES all
classes from your plugin and EXCLUDE everything else.
2. Start profiling with data collection paused, and start data
collection when execution reaches an "interesting" point. To start with
data collection paused, double click the Profiling Agent in the monitor
tab and configure its behavior.
3. Start profiling, detach the profiler from the application, and then
reattach when execution reaches an "interesting" point. The
attach/detach operations are available by right-clicking the Profiling
Session node in the Profiling Monitor view.
4. Use the TPTP 4.5 new Profiler API feature. Please see the following
document for more information:
Eclipse TPTP Committer, JVMTI Profiler
Powered by FUDForum
. Page generated in 0.01761 seconds