Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: duane@hunch.zk3.dec.com (Andrew Duane USG)
Subject: Re: Measuring VERY short durations
Date: Fri, 13 Dec 2002 13:56:21 GMT	[thread overview]
Message-ID: <9GlK9.17$3z.173147@news.cpqcorp.net> (raw)
In-Reply-To: 3df9e50d$0$18245$626a54ce@news.free.fr

In article <3df9e50d$0$18245$626a54ce@news.free.fr> "JF Larvoire" <jean-francois.larvoire@remove_this.free.fr> writes:
>Hello,
>
>I tried it, but it does not seem to work:
>It compiles OK, but when I test it with in the trivial attached program, I
>get this result:
>  Sum 1 done in 9 cycles.
>  Sum 2 done in 6 cycles.

I ran this on my EV5-based 4100 station.

I think the problem is our too-smart-for-its-own-good compiler.
Did you compile this optimized (-O2)? When I did that, the loops
were optimized out and the RPCC instructions were inlined almost
next to each other, giving me 3 and 1 cycles.

With -g instead of -O2, I got 128 and 300 cycles.

--

Andrew L. Duane (JOT-7)			duane@zk3.dec.com
HP/Compaq Corporation			Andrew.Duane@compaq.com
110 Spit Brook Road			Andrew.Duane@hp.com
M/S ZKO3-3/U14
Nashua, NH    03062-2698		(603)-884-1294




  reply	other threads:[~2002-12-13 13:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-13 10:36 Measuring VERY short durations JF Larvoire
2002-12-13 11:59 ` Falk Hueffner
2002-12-13 13:44   ` JF Larvoire
2002-12-13 13:56     ` Andrew Duane USG [this message]
2002-12-18 10:03       ` JF Larvoire
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