# Profiling Threads Window

Use to view detailed information about application thread activity during a profiling session. The Threads window is typically located in the main editor window of the IDE.

The Profiling Threads window contains the following toolbar commands:

Element | Description
--- | ---
Save Current View | Saves the results as a `.png` image file.
Zoom In | Increases the detail of the graph.
Zoom Out | Decreases the detail of the graph.
Scale To Fit | Toggles between a scalable view and a fixed-scale view.

The table in the Threads window contains columns that provide details about thread states and statistics about each thread. You can click the triangle in the far right column to invoke a menu to hide or display table columns. The following columns are available in the menu:

Element | Description
--- | ---
Name | Name of thread.
Thread States Timeline | Displays thread states over time. States can be displayed for all threads, all live threads, or all finished threads according to the option that is selected in the View drop-down list in the toolbar. The status of each thread is represented by a color. The legend for the colors is located at the bottom of the Threads window.
Running | Time spent in running state. The data is presented as total time and as a percentage of the total time.
Sleeping | Time spent in sleeping state. The data is presented as total time and as a percentage of the total time.
Wait | Time spent in waiting state. The data is presented as total time and as a percentage of the total time.
Park | Time spent in parked state. The data is presented as total time and as a percentage of the total time.
Monitor | Time spent in monitor state. The data is presented as total time and as a percentage of the total time.
Total | Total of time spent in all states.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.