CPU view section

## CPU view section |

| 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. When you switch between two thread states, JProfiler will make the best effort to preserve your current selection. Below the thread selector you find information about the aggregation level which is one of methods classes packages J2EE components The call tree is always recorded on the method level. If you switch to a higher aggregation level, the information contained in the method call tree is aggregated accordingly into a new tree from which the current view is calculated. J2EE components can only be shown if component recording has been enabled in on the Java subsystems tab of the profiling settings dialog. In the dynamic views thread selection, thread state and aggregation level 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 call tree view The call 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. call graph The call graph shows call graphs for selected threads or thread groups.