From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f65c62bc56f82205 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-29 17:42:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!src-news.pa.dec.com!mogul.pa.dec.com!mogul From: mogul@mogul.pa.dec.com (Jeffrey Mogul) Newsgroups: comp.unix.tru64 Subject: Re: High resolution timers. Date: Thu, 30 May 2002 00:42:28 +0000 (UTC) Organization: Compaq Western Research Message-ID: References: <3cf4acf2$0$8510$ed9e5944@reading.news.pipex.net> NNTP-Posting-Host: mogul.pa.dec.com X-Trace: src-news-too.pa.dec.com 1022719348 300722 16.1.80.52 (30 May 2002 00:42:28 GMT) X-Complaints-To: usenet@src-news.pa.dec.com NNTP-Posting-Date: Thu, 30 May 2002 00:42:28 +0000 (UTC) X-Newsreader: xrn 9.00 Xref: archiver1.google.com comp.unix.tru64:7841 In article <3cf4acf2$0$8510$ed9e5944@reading.news.pipex.net>, "Andy Wharton" writes: |> Could anyone point me at any documentation relating to the use of high |> resolution times under Tru64? I'm looking for something equivalent to the |> read_real_time call() on AIX or gethrtime() on Solaris. I'm not sure if this is equivalent or not, but see item #9 at http://www2.tru64.org/pages.php?page=Tru64-FAQ-Programming "How can I get microsecond resolution from gettimeofday(2)?" If you want better resolution than that, you will probably have to read the cycle counter register directly. This requires a few lines of assembly code. -Jeff