Collecting thread data

Begin thread analysis by collecting thread analysis data for a profiling run.

Prerequisites:
To collect data:
  1. In the Profiling tab (Overview subtab) of the Profile dialog box, select the Thread Analysis profiling set.
  2. To modify settings in the profiling set, click Edit, then Next, to display the Thread Analysis page. You can take the following actions:
    • Disable data collection for the UML2 Object Interactions view. To do this, expand the Thread Information node and select the Thread Analysis entry. Clear the Collect UML2 Sequence Diagram object interaction data check box. Note that the UML2 Object Interactions view makes it possible to identify objects responsible for thread bottlenecks.
    • Collect data for boundary classes that are excluded by the filter set. To do this, expand the Time Analysis node. Select the Execution Time Analysis check box. On the Execution Time Analysis page, select the Collect boundary classes excluded by the filter set check box, and set the boundary class depth.
  3. Optional: Specify a number of method invocations or an amount of time as the limit for data collection. This can speed up the data collection process.
    1. In the Profile dialog box, click the Profiling tab and the Limits subtab.
    2. Enter instructions for stopping profiling after a specific number of method invocations or after a specific amount of time.
  4. Click Profile to start your application.
  5. Exercise the parts of your application that are experiencing thread bottlenecks. You can now stop your application.
Related tasks
Identifying thread bottlenecks
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.