From: mogul@mogul.pa.dec.com (Jeffrey Mogul)
Subject: Re: High resolution timers.
Date: Thu, 30 May 2002 00:42:28 +0000 (UTC) [thread overview]
Message-ID: <ad3shj$95li$1@src-news-too.pa.dec.com> (raw)
In-Reply-To: 3cf4acf2$0$8510$ed9e5944@reading.news.pipex.net
In article <3cf4acf2$0$8510$ed9e5944@reading.news.pipex.net>, "Andy Wharton" <Andy@no.spam.com> 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
next prev parent reply other threads:[~2002-05-30 0:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-29 9:58 High resolution timers Andy Wharton
2002-05-30 0:42 ` Jeffrey Mogul [this message]
2002-05-30 9:51 ` Andy Wharton
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