共用方式為


Concurrency Visualizer

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Note

The Concurrency Visualizer is an optional extension to Visual Studio. Download the Concurrency Visualizer and the Concurrency Visualizer Collection Tools from the following links:

The Concurrency Visualizer Command-Line Utility (CVCollectionCmd) lets you collect traces from the command line that you can view in the Concurrency Visualizer for Visual Studio 2015. The tool can be used on computers that do not have Visual Studio installed.

You can use the Concurrency Visualizer to see how your multithreaded app performs. The views in the Concurrency Visualizer provide graphical, tabular, and textual data that shows the temporal relationships between the threads in your program and the system as a whole. You can use the Concurrency Visualizer to locate performance bottlenecks, CPU underutilization, thread contention, cross-core thread migration, synchronization delays, DirectX activity, areas of overlapped I/O, and other information. The views provide data that you can act on by linking its graphical output to call stacks and source code.

Note

The Concurrency Visualizer doesn't support Web projects.

The Concurrency Visualizer relies on Event Tracing for Windows functionality.

Title Description
Utilization View Describes how to view and analyze system activity across all processors.
Threads View Describes how to analyze the interactions between threads in your program.
Cores View Describes how to analyze thread migration across cores.
Common patterns for poorly-behaved multithreaded applications Describes several common patterns and shows how they appear in the Concurrency Visualizer.
Parallel Development in Visual Studio blog Provides tips and best practices for the Concurrency Visualizer.
Performance Report Views Provides reference information for the reports and views of Visual Studio Profiling Tools.
Concurrency Visualizer SDK Describes how to instrument your source code to display additional information in the Concurrency Visualizer.
Concurrency Visualizer command-line utility (CVCollectionCmd) Describes how to use the Concurrency Visualizer command line utility (CVCollectionCmd.exe) to collect and process traces on machines that don't have Visual Studio.

See also