共用方式為


Resource Monitoring Performance Rules

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

Performance messages in the Resource Monitoring category provide additional data about the performance of your application. You can use this data to analyze performance issues. These rules are informational and reported for every profiling run.

Rule Description
DA0501: Average CPU consumption by the Process being profiled. This message reports the percentage of time that a processor was busy executing instructions from the application. The reported value is the average over all the measurement intervals in which the process being profiled was active.
DA0502: Maximum CPU consumption by the Process being profiled This message reports the maximum percentage of time that a processor was busy executing instructions from the application. The reported value is the maximum value reported among all the measurement intervals in which the process being profiled was active.
DA0503: Average Working Set in Bytes for the Process being profiled This message reports the average amount of physical memory, in bytes, that the process was using while profiling was active. This measure of physical memory is known as the working set.
DA0504: Maximum Working Set in Bytes for the Process being profiled This message reports the maximum amount of physical memory, in bytes, that the process was using while profiling was active.
DA0505: Average Private Bytes allocated for the Process being profiled This message reports the average amount of virtual memory that the process allocated in bytes while profiling was active. This measure of virtual memory is known as private bytes. Private bytes represents virtual memory locations that were allocated by the process that can only be accessed by threads running inside the process.
DA0506: Maximum Private Bytes allocated for the Process being profiled This message reports the maximum amount of virtual memory that the process allocated in private bytes while profiling was active.