Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: oscarl@*remove-this*ac.upc.es (Oscar Laborda)
Subject: Measuring time in OSF1 w/Alpha
Date: 1999/11/30	[thread overview]
Message-ID: <8208a6$f8h$1@diable.upc.es> (raw)

Hello.

I want to measure elapsed time in an OSF1 system with Alpha processor.
While routines like gettimeofday() and getclock() give time in ns,
the actual increments are of about 1ms, too bad for my purposes.
I would need increments of 10us or better.

I have also found the Alpha RPCC instruction, that gives increments in
1 to 16 clocks (about ns), but the counter is 32bit and it would overflow
too fast.

Finally there is an Alpha PALcode instruction RSCC, like RPCC, but
with 64bit counter that is only useable on VMS! In OSF/1 I get
an 'illegal hardware instruction' error.

Can you help me?


Thank you in advance.

-- 
Oscar Laborda
E-mail: oscarl@*remove-this*ac.upc.es
To reply by e-mail delete '*remove-this*' from the e-mail address



             reply	other threads:[~1999-11-30  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-30  5:00 Oscar Laborda [this message]
1999-12-01  5:00 ` Measuring time in OSF1 w/Alpha Jeffrey Mogul
1999-12-01  5:00   ` Oscar Laborda
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