Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!isi.edu!hotz From: hotz@isi.edu (Steve Hotz) Newsgroups: comp.unix.programmer Subject: Re: How to measure cpu time to ~ 1 millisecond? Keywords: time Message-ID: <15163@venera.isi.edu> Date: 1 Oct 90 20:56:20 GMT References: <237@locke.water.ca.gov> <3819@aix.aix.kingston.ibm.com> Sender: news@isi.edu Reply-To: hotz@isi.edu (Steve Hotz) Organization: USC-Information Sciences Institute Lines: 24 Hi. If you are looking for high resolution timing, send mail to: danzig@pollux.usc.edu To gather data for his dissertation at berkeley, he and another fellow developed a micro-second resolution timer board that sits in an empty socket on SUN boxes (if i remember it's the DES chip socket). I believe they are making the board available for ~$100, sending a note to the above mailbox should get you details about how to get one. On some systems you'll also need to get ahold of a set of PALs which SUN just didn't include for some reason. I believe they (the timer folks) include the appropriate PALs for your machine. They are fairly simply to install, but require kernel modifications to add system calls to get time stamps from them. This code is included in the distribution, as well as some figure about overhead to call the timer. xxoo, steve