getUTCtime() increases irregularly

KlausO oberhofer at users.sf.net
Thu Apr 5 07:06:09 PDT 2007


Sean Kelly schrieb:
> 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

You mean the timeXXX-API e.g.
  timeBeginPeriod
  timeEndPeriod
  timeGetSystemTime


More information about the Digitalmars-d-learn mailing list