first for CPUs without cycle counter where you have to read the timer counter
etc. it's an absolute nono because of the slow timer access (at least 5 or more
in/outs)
also taking the time in the serial driver only will give a constant offset
of some few usecs which isn't too bad (at least for what we get right now)
and this can easily be calibrated (which you'd have to do anyway if you're
really interested in this absolute accurance).
the only variable amout of time might the polling of several UARTs when
using shared interrupts which you won't do anyway when interested in a
single microsecond...
Harald
-- All SCSI disks will from now on ___ _____ be required to send an email notice 0--,| /OOOOOOO\ 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig, \/\/\/\/\/\/\/\/\/ Inst.f.Theoret.Astrophysik // / \\ \ koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^