struct timeval for Sys V Rel 3.0 ?

Chris Torek chris at mimsy.UUCP
Sat May 14 04:38:57 AEST 1988


In article <18806 at watmath.waterloo.edu> egisin at watmath.waterloo.edu
(Eric Gisin) writes:
>On Vaxen running BSD gettimeofday reads a hardware clock register
>with microsecond accuracy.

Only in 4.3BSD and later (4.2BSD just gave back 10 ms. increments), and
only where the hardware supports it.  The routine `microtime' in
/sys/machine/machdep.c is responsible for determining a more accurate
time.  On most Vaxen this is indeed done this way, but the MicroVax II
does not have the register.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list