View Single Post
  #3  
Old August 15th, 2001, 06:18 AM
rharder's Avatar
rharder rharder is offline
Do not read this sign.
 
Join Date: Mar 2001
Location: Virginia, USA
Posts: 1,188
Thanks: 0
Thanked 2 Times in 2 Posts
rharder is on a distinguished road
LOL.

Thanks, knighthawk.

To give credit where credit is due, the random number generator was discovered by Pierre L'Ecuyer, Richard Simard, E. Jack Chen, and W. David Kelton.

Knighthawk, check out the ThreadWorker class at http://iharder.net/macosx/threadworker . If you launch two threads, each to run the math operations, each processor on a DP system should be set to work, and since it's not very RAM intensive, you should see near 100% utilization of both processors.

BTW, do you only update the progress bar every 100,000 iterations or so?

-Rob
__________________
There are only 10 kinds of people in the world:
Those who understand binary, and those who don't.
Reply With Quote