The console can display metrics for the whole application, for a single
thread, or for a single thread group, provided the profile data has been appropriately
collected. These three sectors of analysis are called scopes.
To change the current scope, do the following.
If you do not have a profiling viewer open, double-click
on a data representation in
the main console pane.
This opens a profiling viewer. You can see the Scope menu
in the menu bar of the viewer.
Click the Scope menu name to see the
scope options.
Select the scope that you want. The scope change is immediately
applied to the data displayed in the visualizers appearing in the open viewer.
View available metrics by clicking the tabs or by selecting
new items from the Metrics or Estimate menus.
The following image shows a metric for which “Thread”
scope has been set. The slider allows you to expand and contract the two views
(method call count and associated threads).