CPU view section

  
  up next 


  The CPU view section contains several views which are thread resolved. Directly above those views you can see the current selection of thread and thread state.

The thread selection can be one of

  • thread groups
  • active threads
  • dead threads

Next to the thread selector you find information about the thread state which is one of

  • All states
    No filtering is performed.
  • Runnable
    Only runnable thread states will be shown. This is the standard setting.
  • Waiting
    Only waiting thread states will be shown.
  • Blocked
    Only blocked thread states will be shown.
  • Net I/O
    Only blocking network operations of the java library will be shown.

In the dynamic views thread selection and thread state are displayed in combo boxes. After changing the selection in the thread selector or the thread state selector, the dynamic views are updated immediately with the new settings. The thread selector applies to all dynamic views simultaneously. Initially it is set to All thread groups and may be switched to specific threads or thread groups as soon as they come into existence.

Please turn to the thread view section for more detailed information on threads.

  The update frequency can be set on the miscellaneous tab in the profiling settings dialog for all dynamic views of the CPU view section.
  Unless "Record CPU data on startup" has been selected in the Startup section of the profiling settings dialog, data acquisition has to be started manually by clicking on  Record CPU data in the tool bar or by selecting Profiler->Record CPU data from JProfiler's main menu.

CPU data acquisition can be stopped by clicking on  Stop recording CPU data in the tool bar or by selecting Profiler->Stop recording CPU data from JProfiler's main menu.

Restarting data acquisition resets the CPU data in all dynamic views of the CPU view section.

  The CPU view section contains the
  • invocation tree view
    The invocation tree view shows top down call trees for the selected thread or thread group.
  • hot spots view
    The hot spots view shows the methods where most of the time is spent in the profiled application.
  • method graph
    The method graph shows call graphs for selected methods and threads.
  • CPU statistics
    The statistics view shows statically calculated statistics for package and method resolved CPU time.