Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DA0008: Few samples collected

Rule Id

DA0008

Category

Profiling Tools Usage

Profiling method

Sampling

Message

Only just a few samples were collected. Consider a longer run or faster sampling rate for more significant results.

Rule type

Information

Just a few samples were collected in the profiling run.

When the sampling method is used, you should collect a statistically significant number of samples to make sure that the data represent actual program behavior. To minimize sampling errors, you should try to collect at least 1000 samples of program instruction execution behavior. If you do not collect enough samples, you can be misled when you analyze the profiling data.

Consider a profiling a longer run of the application or using a faster sampling rate to obtain statistically significant results. For information about how to change the sampling rate in the Visual Studio IDE, see How to: Choose Sampling Events. For more information about how to change the sampling rate when you use the Profiling Tools command line, see Timer in the VSPerfCmd reference.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.