prof at 60 Hz, profil at 100 Hz
essick at uiucdcsb.UUCP
essick at uiucdcsb.UUCP
Mon Dec 10 13:46:00 AEST 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 at csnet-relay.arpa
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list