1

Closed

RawValue

description

Hi, I was thinking about adding a new attribute to Enum to change the behaivor of the PerformanceCounterHelper. I would like to update the RawValue property intead of using Increment, IncrementBy, etc. There are some situations those methods can be to slow because of thread-safe controls of methods. So it would be useful to add an Attirubute like "unsafe" to change the values of the counters in a not thread-safe way.
Closed Apr 20, 2009 at 3:24 PM by javiercanillas
See my comment on this issue.

comments

javiercanillas wrote Apr 17, 2009 at 3:47 PM

Well, again sorry for the late response.
I don't think i'm catching you up. But why don't you take a look at the method "RawValue" of the "CounterHelper" class? Maybe this is what you need.

Furthermore, I'm not trying to add functionality to read the performance counter values of a system on this helper yet. I made this for the simple porpouse of making easier to an application to push data into them. There are much better tools to read data from performance counters of a server than what i might try.

wrote Apr 20, 2009 at 3:24 PM

wrote Feb 14, 2013 at 2:43 AM

wrote May 16, 2013 at 7:54 AM