Answer the question
In order to leave comments, you need to log in
How not to load the system?
Good afternoon! There is an application that runs x number of processes. But you need to make sure that the number of processes automatically adjusts to the performance of the computer. That is, load the processor, for example, no more than 50%.
All this needs to be implemented in C#. How can i do this?
Answer the question
In order to leave comments, you need to log in
In the task, specify how many processors to load
https://docs.microsoft.com/en-us/dotnet/api/system...
If there are sources of other applications that you run, then they can use such a mechanism as performance counter. In the original application, you hook into these counters and monitor them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question