Greetings,

Is it possible in Cygwin (W2k, Pentium 4, gcc 3.3.3) to access a higher
resolution (or perhaps I mean "granularity") process CPU timer than the libc
clock() call? I am finding clock() inadequate for some code benchmarking.

[It is not clear to me whether this is indeed a Cygwin issue, or rather a
Windows issue and therefore OT here - apologies if so].

Having browsed the archives, it seems that it may well be possible to access
high-resolution *system* timers (perhaps using NT API calls to
QueryPerformanceCounter() & family), but I can see no way to achieve
per-process timing this way.

Any pointers appreciated,

-- 
Lionel B



        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to