Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Measuring time in OSF1 w/Alpha
@ 1999-11-30  5:00 Oscar Laborda
  1999-12-01  5:00 ` Jeffrey Mogul
  0 siblings, 1 reply; 3+ messages in thread
From: Oscar Laborda @ 1999-11-30  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-12-01  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-30  5:00 Measuring time in OSF1 w/Alpha Oscar Laborda
1999-12-01  5:00 ` Jeffrey Mogul
1999-12-01  5:00   ` Oscar Laborda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox