[Mono-devel-list] System.Diagnostics.PerformanceCounter (Publish and be dammed!!)

Paolo Molaro lupus at ximian.com
Thu Mar 31 08:57:23 EST 2005

On 03/30/05 anthony whalley wrote:
> Attached is the my first attempt at the System.Diagnostics.PerformanceCounter. 
> It implements 2 counters in the catagory Memory
>   Available KBytes 
>   Committed Bytes.
> I have more done on Disk and CPU but i did n't 
> want to confuse the issue until the 
> list confirmed that it is a worth while approach.

I think it's better to implement the backend using icalls:
some of the performance couters will be tied to the C runtime
implementation as well and it makes it easier to include/exclude
support for the different operating systems.
Are the names and types of the performance counters documented somewhere?
Collecting this info would be the first step to decide what is the best 
way to implement them.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list