Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!per2!dag From: dag@per2.UUCP (Daniel A. Glasser) Newsgroups: comp.sys.atari.st Subject: Re: GCC times(2) & #define HZ tech query Summary: The ST's system clock is 200Hz Message-ID: <887@per2.UUCP> Date: 19 Dec 89 17:55:15 GMT References: <570049@otter.hpl.hp.com> Organization: Persoft Inc., Madison, WI Lines: 22 In article <570049@otter.hpl.hp.com>, gjh@otter.hpl.hp.com (Graham Higgins) writes: [edited for brevity] > The C system call "times(2)" -- my SysV manual states: > "The times are in units of 1/HZ seconds, where HZ is processor dependent (see > )." > The sys/param.h from J.Bammi's port of GCC to the ST doesn't have a definition > for HZ. > Can anyone provide me with an appropriate value for HZ for an (unaccelerated) > ST? I cannot tell you for sure about the particular times() function in the particular library (if I were at home, I could), but the ST's system 'tick' clock is a 200Hz clock. Try that value out and see if the results seem plausible. Daniel -- _____________________________________________________________________________ Daniel A. Glasser One of those things that goes uwvax!per2!dag "BUMP!!!(ouch)" in the night. ---Persoft, Inc.---------465 Science Drive-------Madison, WI 53711-----------