There are several types of performance counters in Windows. However, I had a hard time of understanding all these types just from their documentation. So I decided to compile some examples for each counter type.
I also wrote some C# code to demonstrate how to use performance counters. You’ll find it at the end of this article.