Creating a PerfMon counter to record an average per call (C#)

Viewed 44144

How can I use PerfMon counters to record the average execution time of a method in C#?

So far I've only found sample code to incrememnt or decrement a PerfMon counter.

2 Answers
Related