Compartir a través de


Collecting Application Statistics for Services by Using the Profiler Sampling Method

Note

This article applies to Visual Studio 2015. 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

This section describes the procedures and options for collecting performance statistics for Windows services using the sampling method from the command line.

Note

Enhanced security features in Windows 8 and Windows Server 2012 required significant changes in the way the Visual Studio profiler collects data on these platforms. Windows Store apps also require new collection techniques. See Performance Tools on Windows 8 and Windows Server 2012 applications.

Common Tasks

Task Related Content
Attach the profiler to a .NET service - How to: Attach the Profiler to a .NET Service to Collect Application Statistics
Add tier-interaction data - Collecting tier interaction data
Attach the profiler to a C/C++ service - How to: Attach the Profiler to a Native Service to Collect Application Statistics

Profiling Windows Services

Task Related Content
Profile by using the instrumentation method - Collecting Detailed Timing Data Using Instrumentation
Profile .NET memory allocation and garbage collection - Collecting .NET Memory Data
Profile resource contention and thread activity - Collecting Concurrency Data

Profiling by Using the Sampling Method

Task Related Content
Profile stand-alone (client) applications - Collecting Application Statistics Using Sampling
Profile ASP.NET Web applications - Collecting Application Statistics Using Sampling

Analyzing Sampling Data Views and Reports

Sampling Method Data Views