Real-time needed; FTIME buggy. - (nf)

gwyn%brl-vld at sri-unix.UUCP gwyn%brl-vld at sri-unix.UUCP
Thu Oct 13 11:38:15 AEST 1983


From:      Doug Gwyn (VLD/VMB) <gwyn at brl-vld>

The UNIX kernel only updates its internal time counter on a clock
interrupt, usually every 1/60th of a second (maybe 1/50th or 1/100th
depending on your hardware).  There is no way it is going to be able
to tell you what time it is between "ticks".  You can buy a clock
peripheral from Digital Pathways (maybe other vendors too) and write
a device driver to interrogate it.

Sometimes you can output NUL characters to get small delays in
updating video terminal displays.

It would be interesting to hear what game you have that could take
advantage of high-resolution time on a time-sharing system.



More information about the Comp.unix.wizards mailing list