Unsolved Is there a way I can limit CPU speed from Qt?
-
Is there a way I could limit CPU speed. For example, the user has a filed where he writes number 60, and the CPU will work at 60 percent.
-
AFAIK there is no way in any language to achieve that. This would require the program to evaluate what it needs, then limit itself by some obscure mechanism. This would then have to be tuned for each machine on which it runs.
-
@mandruk1331 For sure not in Qt.
You would need to use APIs provided by the operating system (win32 API on Windows for example).