View Single Post
  #8 (permalink)  
Old 09-01-2008, 06:40 PM
ProjectKaiser's Avatar
ProjectKaiser ProjectKaiser is offline
Member
 
Join Date: Aug 2008
Location: Saint-Petersburg, Russia
Posts: 47
ProjectKaiser is on a distinguished road
Not sure that CPU utilization could be decreased at all in this scenario. Code loads processor heavily without any yields, so...

How much time does it get to perform 2000 cycles, by the way ?

I'd understand the goal "decrease execution time from 20 secs to 5 secs", but decreasing CPU utilization itself...Well, usage of Thread.sleep(10) will give some relief to CPU but not sure that this is your real intent.
Reply With Quote