dotTrace
 
Get dotTrace

Thread State

Last modified: 26 May 2024

The goal of the Thread State filter is to "Select all time intervals where threads were in the specified state". For example, if you want to analyze only time intervals when a certain thread was not working, select the thread on Threads diagram and the Waiting state in the Thread State filter.

A thread can be only in one of two states at a time:

  • Running   – a thread is running.

  • Waiting   – a thread is not running as it waits for a resource or notification from another thread.

Thread state

1 State name.

2 Time spent in this state summed up for all selected threads.

3 The percentage of time spent in this state relative to the total selected time.