Using the Performance Monitor and PerformanceCounters to Profile .NET Applications

The .NET Framework has made it even easier to use and monitor performance counters. Even creating a custom performance counter is simple.

Bringing up the Performance Monitor and clicking on the Add button on the toolbar (the button with the '+' symbol on it) provides a list of the Performance Counters available (In Windows 2000, Performance Monitor can be found under Administrative Tools/Performance. In Windows XP, the Administrative Tools have been moved to the Control Panel, so you will have to bring up the Control Panel to open the Performance Monitor). Figure 20.7 shows the counters categories that have been added specifically to support .NET applications. ...

Get .NET Common Language Runtime Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.