getUTCtime() increases irregularly
Sean Kelly
sean at f4.ca
Wed Apr 4 16:56:00 PDT 2007
Frits van Bommel wrote:
>
> Yeah, it's probably just because your Windows version didn't set
> whatever timer source it uses to >= 1000 ticks/second. Understandable,
> since short timer ticks probably have a negative effect on performance.
Right. I think the Windows system clock has a resolution of around
10ms. However, I believe there are ways to obtain higher-resolution
timing information, either using realtime features, the multimedia API,
or by some other means. I couldn't name actual API calls offhand though.
Sean
More information about the Digitalmars-d-learn
mailing list