From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,895194e819cbbf0e X-Google-Attributes: gid1164f8,public From: "Thomas Womack" Subject: Re: RPCC under Digital Unix Date: 1999/03/05 Message-ID: <7bpa7e$nak$1@news.ox.ac.uk>#1/1 X-Deja-AN: 451658401 Content-Transfer-Encoding: 7bit References: <7boibj$ehh$1@news.ox.ac.uk> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 X-Complaints-To: newsmaster@ox.ac.uk X-Trace: news.ox.ac.uk 920661038 23892 163.1.144.64 (5 Mar 1999 19:10:38 GMT) Organization: Oxford University, England Mime-Version: 1.0 NNTP-Posting-Date: 5 Mar 1999 19:10:38 GMT Newsgroups: comp.sys.dec >Under DU4 on the big Alpha box here, it doesn't; it gives me a result on >the order of 10^6, incrementing by about 10^5 per second - which is four >orders of magnitude less accuracy than I expected and needed for some >calculations about speeds of L1 and L2 cache. Thanks very much for your help; I'm an idiot. sleep(1) suspends my process; so if I do RPCC-and-add-the-two-halves sleep(1) RPCC-and-add-the-two-halves Find-the-difference I'm timing how long it takes to call sleep(1), not an interval of one second. Also, the big Alpha box has 4 CPUs and each of them has its own counter, and I was forgetting to use runon to keep my process CPU-bound. Thanks again, and hoping my experience saves someone somewhere some hair, Tom