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?
ni5958
0
Newbie Poster
Recommended Answers
Jump to PostUse TThread.
Jump to PostIt 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
Wolfgan
17
Junior Poster
Glenn9999
0
Newbie Poster
ni5958
0
Newbie Poster
Glenn9999
0
Newbie Poster
ni5958
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.