> On Sun, Jul 14, 2002 at 07:54:23PM -0700, Ryan Bloom wrote: > > BTW, nsec is completely bogus. There isn't an OS that I know of that > > reports nsec intervals. Windows comes the closest with 100 nsec chunks, >
FWIW, you can do better on Windows with QueryPerformanceFrequency & QueryPerformanceCounter. These give you time measurements accurate to one clock tick, so you can get 1 ns accuracy for a 1GHz chip. -- Emery -- Emery Berger Assistant Professor (starting Fall 2002) Dept. of Computer Science University of Massachusetts, Amherst www.cs.utexas.edu/users/emery