|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.Net 2.0: PerformanceCounter & unsupported counter typesWe recently upgraded our application from .Net 1.1 to .Net 2.0. One of the
bugs we had expected to be fixed is the lack of support in PerformanceCounter for the below counter types: .. PERF_PRECISION_100NS_TIMER .. PERF_PRECISION_TIMESTAMP .. PERF_COUNTER_100NS_QUEUELEN_TYPE The following Microsoft KB article (http://support.microsoft.com/kb/324548) discusses how NextValue() on these counters will always return 0 due to a bug, but the article references only .Net 1.0 and 1.1. I ran a test and the failure appears the same in .Net 2.0. Is there a workaround? We need to access counters of these types. Joe |
|||||||||||||||||||||||