From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,71e15db4666d8661,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,71e15db4666d8661,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-04-03 10:02:22 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!nntp.upenn.edu!info1.fnal.gov!overload.lbl.gov!not-for-mail From: Adrian Wong Newsgroups: vmsnet.alpha,comp.sys.dec Subject: High resolution clock on Alpha Date: Tue, 03 Apr 2001 09:59:34 -0700 Organization: NERSC Message-ID: <3ACA0176.B1BE6632@nersc.gov> NNTP-Posting-Host: fangg.lbl.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: overload.lbl.gov 986317150 18225 128.3.1.103 (3 Apr 2001 16:59:10 GMT) X-Complaints-To: nsuser@overload.lbl.gov NNTP-Posting-Date: 3 Apr 2001 16:59:10 GMT X-Mailer: Mozilla 4.72 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en Xref: supernews.google.com vmsnet.alpha:380 comp.sys.dec:3465 Hello all, I am in need of a sub-microsecond (10s of nanoseconds) resolution clock on Alpha (particularly EV67). I tried get_clock(), but it's *only* microsecond accurate. Perhaps someone has a fragment of assembler that reads the Alpha's real-time tick count, that will work, as long as I know the conversion rate. (Clearly, I am measuring very small deltas of time, what the actual absolute clock tick means is irrelevant). thanks Adrian -- Adrian Wong | NERSC, MS 50D +1-510-486 4032 | Lawrence Berkeley National Laboratory atwong@nersc.gov | 1 Cyclotron Rd, Berkeley, CA 94720