Thanks for the reference to the interesting article.  I ended up going with
gettimeofday() after all.  The result is in the latest release (00.03) of my
hobby project which you can see at mjp.sf.net if you're interested.

Mike

> -----Original Message-----
> From: Chris McKinley [mailto:lamfada at lugh.net]
> Sent: Friday, August 30, 2002 10:58 PM
> To: Mike Bresnahan
> Cc: Tclug-Devel at Mn-Linux.Org
> Subject: RE: [TCLUG-DEVEL] High Resolution Timer
>
>
> Interesting concern.  I show that each call takes only about 1usec on a
> PIV 1.8GHz and about 0.4usec on a 1GHz Athlon.
>
> Here is a page which has more exact methods for doing it in assembly ...
>
> http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/IA32LinuxClus
> ter/Doc/timing.html#linuxasm
>
> Good luck.