-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sun, 25 Mar 2001 19:09:02 +0200, Steiner wrote:
On Sun, Mar 25, 2001 at 10:03:01AM -0500, Pierre Abbat wrote:
How does idle time accrue *to a process*? Idle time is when the CPU
is not executing any process.
Just like the brain, your computer can not `do nothing'. `Idle' time
would most likely be spent in some sort of loop, possibly a HLT
loop, keeping your CPU cool :-)
Very true, AFAIK. This can be especially important with portable
computers, which can be improperly cooled.
As Brian said, Windows gives a small share of CPU time to every
process (this can be observed by running a game or other program that
uses 100% CPU; when you look back, Prime95 will have been running at
ten percent or less of normal speed (I've seen timings go from 76 ms
to 2 seconds), but it will not have stopped completely.
IIRC, this is part of the reason some other operating systems are
slightly better - they allow a program to sleep and wait for an
event, such as a mouse click, and begin running only when it needs to
deal with said event.
Nathan
-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com
iQA/AwUBOr5j+IvPBwdDF2xqEQKCbQCggwZXnSkJfbHB1D/o+OKH11p8VhYAoKfN
MpDaR5iyY8LJ9JVl5sG0UZ46
=ZihA
-END PGP SIGNATURE-
_
Unsubscribe list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers