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

前端 未结 2 1315
再見小時候
再見小時候 2021-01-05 16:47

I want to use the performance counter output in my program. How can I access the performance counter in code without using the perfmon.exe. I want to create my own performan

相关标签:
2条回答
  • 2021-01-05 17:05

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

    0 讨论(0)
  • 2021-01-05 17:20

    This is exposed via the PerformanceCounter Class.

    0 讨论(0)
提交回复
热议问题