response time

John J. Lee jjl at pobox.com
Tue Nov 11 16:28:41 EST 2003


Peter Hansen <peter at engcorp.com> writes:

> "John J. Lee" wrote:
[...]
> > That doesn't explain it AFAICS -- why not use a different (smaller)
> > divisor?  An eight bit counter would give about 0.2 ms resolution.
> 
> Can you imagine the overhead of the DOS timer interrupt executing over 500
> times a second?!

No.


> It would have crippled the system.  In fact, from what
> I recall of the overhead associated with that interrupt, that might well
> have consumed every last microsecond of CPU time.

I see.  :-)

[...]
> burden on performance.  I believe one of the first links to the Google 
> search I mentioned has the part number of the timer chip in question, so 
> you could investigate further if you're curious.
[...]

No thanks!-)


John




More information about the Python-list mailing list