informatyk

informatyk

  • NA
  • 2
  • 4.4k

PerformanceCounter.CounterType.AverageTimer32

Oct 18 2003 2:33 AM
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 ?