apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emery Berger" <em...@cs.utexas.edu>
Subject RE: more notes on the apr_time_t issue
Date Mon, 15 Jul 2002 03:40:09 GMT
> 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



Mime
View raw message