From: Colin Fowler (fowler at domain indigo.ie)
Date: Thu 24 May 2001 - 20:25:34 IST
On Thu, 24 May 2001 18:30:32 +0100
Anthony Harrington <Anthony.Harrington at domain cs.tcd.ie> wrote:
|Can anyone tell me a system call for measuring time in nano-seconds ?
|All I can find is gettimeofday() from which I can only obtain seconds
|Any info. appreciated.
Problem is here that you're not using a Real Time operating system. The best timer
resolution you're going to see is in the order of 10 milliseconds. There's kernel
latency patches out there and of course RTLinux. QNX is free for (personal non-
commercial?) use?. Those might be worth a try if this app you are writing is the critical
app running on the system.
P.S. out of interest what are you doing that requires such fine grained timing?!
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:27 GMT