This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: We can get down to 30us resolution!


Hello Homer,

Wong, Homer <Homer.Wong@team.telstra.com> wrote:

WH> Hi

WH> Thanks to Tim,  I have found the solution. On Windows NT and Windows 95 we
WH> can use QueryPerformanceCounter and QueryPerformanceFrequency. Although it
WH> is non-portable, it IS a way of getting better resolution time performance
WH> on a Windows PC.

    For me, QueryPerformanceFrequency() on 95 gives very low
frequency, far from any satisfactory. I want being able to count up to
400MHz on my PII-400 ;-) If that's what you want, you can look at
http://www.is.lg.ua/~paul/devel/perf-count.html . Extra feature that
it's not tied to any some windows and works on any Intel (i586+)
system (tested on win32 & Linux). By the way, is this ontopic?

--
Paul Sokolovsky, IT Specialist
http://www.brainbench.com/transcript.jsp?pid=11135



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]