Csh confusion: #define HZ 100?

gordon at sneaky.UUCP gordon at sneaky.UUCP
Tue Dec 4 18:09:00 AEST 1984


One of the reasons for having HZ defined in csh is the "time" command.
It's build into csh, and it doesn't call /bin/time.  Quantities of CPU time
are available in ticks of cpu time, not seconds, and HZ is needed as a
conversion factor.

There is no particular reason why the system clock has to run at the same
speed as the power line frequency.  Any reasonably stable clock of an
appropriate frequency would do, and a HZ value of 100 makes a lot of math
easier for the humans to deal with.


				Gordon Burditt
				...!convex!ctvax!trsvax!sneaky!gordon
				...!microsoft!trsvax!sneaky!gordon



More information about the Comp.unix.wizards mailing list