Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uiucdcsb.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcsb!essick
From: essick@uiucdcsb.UUCP
Newsgroups: net.bugs.4bsd
Subject: Re: prof at 60 Hz, profil at 100 Hz
Message-ID: <6300014@uiucdcsb.UUCP>
Date: Sun, 9-Dec-84 22:46:00 EST
Article-I.D.: uiucdcsb.6300014
Posted: Sun Dec  9 22:46:00 1984
Date-Received: Tue, 11-Dec-84 04:22:30 EST
References: <6300013@uiucdcsb.UUCP>
Lines: 13
Nf-ID: #R:uiucdcsb:6300013:uiucdcsb:6300014:000:602
Nf-From: uiucdcsb!essick    Dec  9 21:46:00 1984

Several people have pointed out the fact that the SUN machines use
50 Hz and thus my changes don't work quite so well on them. One
could just change the #define, but a more "elegant" method is
to open /dev/kmem and burrow through the namelist to find how
fast the timer really ticks on that machine.

I'll spare you the details of figuring out how to do this.  When I
get that far (if ever), I'll just steal the appropriate code from
"gprof" which figures the clock rate in just this manner.

-- Ray Essick, University of Illinois
-- {ihnp4,convex,pur-ee}!uiucdcs!essick   essick%uiuc@csnet-relay.arpa