Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   using PerformanceCounter class (http://www.go4expert.com/forums/using-performancecounter-class-t4058/)

yossarian 28Apr2007 15:23

using PerformanceCounter class
Hi all, this is my first post here !
I am trying very hard to make measurements to my application by creating custom Performance Counters.
The advantage is, of course the ability to use perfmon.exe to see a graph and record the result in an efficient way through the OS.
I've used CounterTimer and AverageTimer32 especially, among many others, but couldn't get accurate results in perfmon. When I make synchronous samples, however, inside my application, the measurements are correct.
Did anyone run into this problem before?

All times are GMT +5.5. The time now is 02:34.