i have a little program that searches for perfect numbers.
now it took it 36 minutes to get to the 5th number(and last one for longint) which is 33550336. as it worked i noticed in the task manager that it only used 25% of cpu the whole time and the memory usage was really low..
i was wondering if its possible to force it to use more? and find the 5th number in less time?
Jump to Post
It seems you aren't quite specifying your problem adequately.
First off, most CPU monitors are aggregate monitors, which means if you have multiple cores/processors it will only show what is utilized by the process thread. Which means, you likely have a 4-core system.
While TThread is far from …
All 5 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.