Article View: comp.sys.atari.st
Article #39644Re: GCC times(2) & #define HZ tech query
From: Daniel A. Glasser
Date: Tue, 19 Dec 1989 17:55
Date: Tue, 19 Dec 1989 17:55
22 lines
1424 bytes
1424 bytes
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
> <sys/param.h>)."
> 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-----------
Technical Details
Message-ID:
<887@per2.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!per2!dagReferences:
<570049@otter.hpl.hp.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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