From: lederman@star.enet.dec.DISABLE-JUNK-EMAIL.com (Bart Z. Lederman)
Subject: Re: High resolution clock on Alpha
Date: Wed, 04 Apr 2001 12:48:41 GMT [thread overview]
Message-ID: <JKEy6.520$fB6.14946@news.cpqcorp.net> (raw)
In-Reply-To: 3ACA0176.B1BE6632@nersc.gov
There is a system call, RPCC, Read Cycle Counter.
There is a "builtin" for DEC C that will give you
access to the counter, defined in builtin.h
At the moment I'm drawing a blank on which manual has
the documentation on this: I think it's in the
PAL code (I think I loaned the manual to someone).
Note that if you are running on a multi-processor
system you can get very strange results if you aren't
careful to check to see that the various counts you
pulled out and compared came from the same processor.
The counters are not synchronized between processors.
--
B. Z. Lederman Personal Opinions Only
Posting to a News group does NOT give anyone permission
to send me advertising by E-mail or put me on a mailing
list of any kind.
Please remove the "DISABLE-JUNK-EMAIL" if you have a
legitimate reason to E-mail a response to this post.
prev parent reply other threads:[~2001-04-04 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 16:59 High resolution clock on Alpha Adrian Wong
2001-04-03 19:47 ` Bob Koehler
2001-04-04 12:48 ` Bart Z. Lederman [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