Article View: comp.sys.xerox
Article #630timing function execution
From: Lou Steinberg
Date: Thu, 08 Dec 1988 21:29
Date: Thu, 08 Dec 1988 21:29
26 lines
1473 bytes
1473 bytes
We are trying to time the execution of some functions, and are getting
strange results. This is on an 1109. It appears that there are two
functions that give what we want (cpu time without gc or swap time):
breakdown and timeall. But when we use breakdown on the same computation
several times, we get numbers that vary much more than I would expect
(20% or more). Furthermore, comparing breakdown and timeall it seems
that they give the same time when there are few page faults, but sometimes
(not always) when there are many page faults breakdown gives a higher
cpu time figure than timeall.
Can anyone clarify this mystery for us, or give suggestions how to do the
timing we want?
Thanks
(Please respond by email as I do not keep up regularly with this newsgroup.)
Lou Steinberg
uucp: {pretty much any major site}!rutgers!aramis.rutgers.edu!lou
arpa: lou@aramis.rutgers.edu
--
Lou Steinberg
uucp: {pretty much any major site}!rutgers!aramis.rutgers.edu!lou
arpa: lou@aramis.rutgers.edu
Technical Details
Message-ID:
<Dec.8.16.29.19.1988.9220@bearcat.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!ukma!rutgers!aramis.rutgers.edu!bearcat.rutgers.edu!louShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!ukma!rutgers!aramis.rutgers.edu!bearcat.rutgers.edu!lou From: lou@bearcat.rutgers.edu (Lou Steinberg) Newsgroups: comp.sys.xerox Subject: timing function execution Message-ID: <Dec.8.16.29.19.1988.9220@bearcat.rutgers.edu> Date: 8 Dec 88 21:29:23 GMT Reply-To: lou@aramis.rutgers.edu Organization: Rutgers Univ., New Brunswick, N.J. Lines: 26