Thread: cpu consumption
View Single Post
  #3  
Old September 7th, 2010, 04:57 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,988
Thanks: 481
Thanked 1,922 Times in 1,250 Posts
Mobhack is on a distinguished road
Default Re: cpu consumption

Quote:
Originally Posted by hawk66 View Post
Hi,

don't know if that was discussed before or if I have over-read this in the doc (wouldn't be the first time ):

Even if Winspmbt(CD-version) is idle, it consumes ~25% of the cpu(quad-core)...any reason for this...perhaps the used libraries to bridge that DOS-coding to Windows?

Might be a slight problem if you try to play that game on a netbook since it consumes more power than necessary...
That is because it is a game and not some office application.

Games are in a tight continuously running game loop, using idle time to do things like the palette cycling that does "moving" smoke, and redrawing the map several times a second to allow for animations. They are usually not very cooperative with other applications (ours allows a short amount of sleep time to allow office apps some CPU).

Office applications are in a wait state for the user to actually do something most of the time (type a key, press the mouse).

Games therefore assume they own the machine - you have started the thing in order to play the game, not do work !. If you actually are not doing something in a WP package, it is effectively doing nothing other than occupying RAM. Most games are always doing something that uses CPU, even if the end user is not focussed on the game window at the time.

Cheers
Andy
Reply With Quote