Manage Channels

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

In the Threads View in the Concurrency Visualizer, you can organize the channels for your process so that you can examine particular patterns. You can sort channels, move them up and down, and hide or show them.

You can use the Sort By control to sort the threads by different criteria, based on the current zoom level. This is especially useful when you are looking for a particular pattern. You can sort by these criteria:

CriteriaDefinition
Start TimeSorts threads by their start times. This is the default sort order.
End TimeSorts threads by their end times.
ExecutionSorts threads by the percentage of time that's spent in execution.
SynchronizationSorts threads by the percentage of time that's spent in synchronization.
I/OSorts threads by the percentage of time that's spent in I/O (reading and writing data).
SleepSorts threads by the percentage of time that's spent in sleep.
PagingSorts threads by the percentage of time that's spent in paging.
PreemptionSorts threads by the percentage of time that's spent in preemption.
UI ProcessingSorts threads by the percentage of time that's spent in user interface processing.

You can use these controls to move a channel up or down in the list. For example, you could position related channels next to each other to help you examine a particular pattern or a cross-thread relationship.

You can move selected channels to the top or bottom of the list so that you can examine a particular pattern, or move some channels out of the way when you examine others.

Choose this control when you want to hide channels. For example, if a thread is 100 percent synchronization for the life of your managed process, you could hide it as you analyze other threads.

System_CAPS_ICON_note.jpg Note

Hiding a thread also removes it from the calculation time, which is shown in the active legend and in the profile reports.

This control is active when one or more channels are hidden. If you choose it, all hidden elements are shown and are returned to the calculations of time.

If a trace contains marker events, you can use this command to move the marker channels to the top of the timeline. Their relative order is preserved.

If a trace contains marker events, you can use this command to group marker channels under the thread that generated the marker events. The disk channels are moved to the top of the channel list and GPU channels are moved to the bottom.

Zoom Control (Threads View)
Measure Mode On/Off
Threads View

Show: