0
Answer

PerformanceCounter.CounterType.AverageTimer32

informatyk

informatyk

21y
2.1k
1
There is a .NET PerformanceCounter called AverageTimer32, according to MSDN: this counter calculates the average time to perform a process or to process an item. The counter can be called by using Increment(), Decrement() or IncrementBy(). Suppose my application want to calculate the number of transaction per second, I would assume to do that, I just simply do an increment on the AverageTimer32 counter type whenever I finish a transaction , and this counter will just tell me the value ?