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-03 11:48:16 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!koehler From: koehler@encompasserve.org (Bob Koehler) Newsgroups: vmsnet.alpha,comp.sys.dec Subject: Re: High resolution clock on Alpha Message-ID: References: <3ACA0176.B1BE6632@nersc.gov> Organization: Encompasserve Date: 3 Apr 2001 14:47:53 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 986323675 216.44.122.34 (Tue, 03 Apr 2001 18:47:55 GMT) NNTP-Posting-Date: Tue, 03 Apr 2001 18:47:55 GMT Xref: supernews.google.com vmsnet.alpha:383 comp.sys.dec:3472 In article <3ACA0176.B1BE6632@nersc.gov>, Adrian Wong writes: > 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. > Bad idea, since you won't know when the leap ticks are inserted. Alpha has instructions specifically designed for software timing, perhaps you could use them. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying