> > would give 3-4 microsecond precision on "deltas" but an initial uncertainty of
>              ^^^^^
> > the usual 15 milliseconds or so.
> >
> This is a output of the mentioned profiler. It say about a minimal time of about 1-2 
>us. May the difference be
> caused by the cygwin.dll overhead ? (We're using the native functions, not 
>gettimeofday()).
>
> [1828] EmptyTest   count:    100  time: (min)          1 [us] (max)          2 [us] 
>(sum)        169 [us]

On my machine it's actually 1.74us, but I made the test on some machines and the 
result varies from 1.05 to 5.9us
(excluding a single machine for which it takes 11.45us).
That using my own profiles that uses the "adapted gettimeofday(), so it has a ilttle 
bit more of overhead to
divide it in the secs and usecs fileds.

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to