perfcounter on Windows.
Performance counters are available on Microsoft operating systems Windows 2000 and later.
Perfcounter can be:
Perfmon is a good starting point for measuring utilization but it has several limitations that can make it less than optimal. Consider alternatives like XPerf in the Windows Performance Toolkit. http://msdn.microsoft.com/en-us/performance/default.aspx
through perfmon