CPU POWER | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

CPU POWER

Hello! I am making a program. That program needs to calculate so much. The more CPU work, the faster program run. But when I check the CPU usage, it is only got 40% of CPU power. How can I run the program with 100% power?

7th Sep 2018, 4:42 PM
LetterC67
LetterC67 - avatar
2 Answers
+ 2
Maybe you want to use threads to help you calculating?
7th Sep 2018, 4:47 PM
Alexander Santos
Alexander Santos - avatar
+ 1
Usually you can processing with multiple thread if your run on multiple core cpu (and now its always the case) but anyway is OS job handle processes work. You app can only hint OS but latter can or cant use your hints
7th Sep 2018, 6:11 PM
KrOW
KrOW - avatar