This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: milliseconds on Windows
On Tue, 23 Oct 2007, Robert D. Holtz - Lists wrote:
> If you're feeling frisky it's also possible to write a low level routine
> that hooks the hardware clock and uses it for retrieving the time.
Or simply use QueryPerformanceCounter.
> This clock does go down to microsecond granularity.
Sure, there are lots of solutions to measuring time more accurately.
The solution I provided is better suited for scheduling processes as
accurately as Windows allows.
--
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...
--
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/