From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,71e15db4666d8661 X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,71e15db4666d8661 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-04-04 05:53:03 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!news.maxwell.syr.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!dec.DISABLE-JUNK-EMAIL.com!lederman Newsgroups: vmsnet.alpha,comp.sys.dec From: lederman@star.enet.dec.DISABLE-JUNK-EMAIL.com (Bart Z. Lederman) Distribution: world X-Newsreader: mxrn 6.18-32 References: <3ACA0176.B1BE6632@nersc.gov> Reply-To: lederman@encompasserve.DISABLE-JUNK-EMAIL.org Subject: Re: High resolution clock on Alpha Message-ID: Date: Wed, 04 Apr 2001 12:48:41 GMT NNTP-Posting-Host: 16.32.80.173 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 986388521 16.32.80.173 (Wed, 04 Apr 2001 05:48:41 PDT) NNTP-Posting-Date: Wed, 04 Apr 2001 05:48:41 PDT Organization: Compaq Computer Corporation Xref: supernews.google.com vmsnet.alpha:392 comp.sys.dec:3491 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.