Hello colleagues! There is a problem with the CPU load in Windows.
This is the case: I have a driver (written in C) and a driver subscribing program (written in C ++).
When I run the driver, and then the program all works correctly: The dispatcher shows the CPU load by 80-95% (this is a normal result, because the corresponding load is created) and the computer is working normally. But after 30 (approximately) minutes of work, the CPU utilization rate in the Dispatcher drops to 40-50% and the computer starts to glitch terribly and slow down.
The driver works constantly and by itself the system does not load at all, but when I start the subscriber, the braking begins, which do not stop even after the program ends.
I understand that the problem is in the driver, or rather in communicating the driver with the subscriber program from the driver (as far as I know, the resources used by the drivers are not displayed in the Manager, but they use resources, of course), but I cannot find the bug. Please tell me (some tools / programs / methods, at least something)
- How can I determine exactly what the problem really is, because it may not be in the driver or not only in the driver (I'm not sure) ?.
- If there is a problem with the driver, how can I catch the problem code? Thank you very much!