Asked By Le Chaud Lapin
05-Jan-10 12:34 AM
Hi All,
First, I realize that Windows is not an RTOS. :)
I would like to know the mean and variance, probabilistically-
speaking, of the "error" from the specified delay in
WaitForSingleObject, WaitForMultipleObject, WaitableTimers, etc.
For example, if I specify 600 seconds, there is a pretty good chance
that the break will occur right around 600 seconds. If it occurs at
599 seconds, 987 milliseconds, the error would be 13 milliseconds.
For 600 seconds, it will likely not occur after 5 seconds, nor after
17 hours, as the error would be 595 seconds, and 16 hours, 55 minutes;
respectively, to use two extreme examples.
What is the mean error under "typical" circumstances. What is
variance of this error?
Also, does Windows still use ing the 18.2-millisecond quantum from the
wee-old days of original IBM PC?
-Le Chaud Lapin-