开发者

How can I access the C# performance counter in the code?

开发者 https://www.devze.com 2022-12-27 23:32 出处:网络
I want to use the performance counter output in my pr开发者_JAVA技巧ogram. How can I access the performance counter in code without using the perfmon.exe. I want to create my own performance counter a

I want to use the performance counter output in my pr开发者_JAVA技巧ogram. How can I access the performance counter in code without using the perfmon.exe. I want to create my own performance counter app.


This is exposed via the PerformanceCounter Class.


You can fully interact with performancecounters throught the System.Diagnostics.PerformanceCounter classes (Documentation and examples here).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号