From: "Thomas Womack" <mert0236@sable.ox.ac.uk>
Subject: Re: RPCC under Digital Unix
Date: 1999/03/05 [thread overview]
Message-ID: <7bpa7e$nak$1@news.ox.ac.uk> (raw)
In-Reply-To: 7boibj$ehh$1@news.ox.ac.uk
>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
prev parent reply other threads:[~1999-03-05 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-05 5:00 RPCC under Digital Unix Thomas Womack
1999-03-05 5:00 ` Thomas Womack [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox