> ------------------------------
>
> Date: Mon, 19 Jun 2000 11:38:22 -0400 (EDT)
> From: Roscoe A Bartlett <roscoe@andrew.cmu.edu>
> Subject: OON: Timing function for GNU g++ ???
>
> Hello everyone,
>
> I was wondering if anyone knows of an accurate timing function to be used
> with Linux/GNU g++ 2.95.2? The standard library function clock() only
> appears to have a minimum resolution of 0.01 sec. I need something much
> more accurate.
>
Perhaps getrusage() might be useful for you. this will return time
within microsecond accuracy (user as well as system time).
Pat Nichols
--------------------- Object Oriented Numerics List --------------------------
* To subscribe/unsubscribe: use the handy web form at
http://oonumerics.org/oon/
* If this doesn't work, please send a note to owner-oon-list@oonumerics.org
This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 03:20:13 EST