How to write "Events per second" PerformanceCounter?

I am currently using the IncrementCounter Increment method. If I call it on every event, will the FormformCounter environment calculate events per second? Or do I need to write code to do this? If anyone has any examples?

thank

+3
source share
1 answer

You need to define several counters: the number of operations, the average time per operation and the average time to the operating base. Here is a good article to help you get started.

+5
source

Source: https://habr.com/ru/post/1747958/


All Articles