We recommend using Visual Studio 2017

Execution Time (Threads View)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Execution Time (Threads View).

These segments in the Threads View timeline represent execution time, when the thread is actively doing work on a logical core in the system.

Changes in thread status are detected through kernel context switch events. Event Tracing for Windows (ETW) captures sample stacks every millisecond. In a very short green segment, it is possible that no sample is taken. Therefore, some short execution segments may show no call stack.

When you click an execution segment, the Concurrency Visualizer displays the sample stack closest to the location of the click. The location of that sample stack is shown by a black arrow, or caret, above the timeline and the sample stack appears on the Current tab.

To see a traditional sampling profile for all execution segments in the current view, click Execution in the Visible Timeline Profile.

Execution Profile Report
Threads View