[Vm-dev] Re: [Pharo-project] System time

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Mon May 2 10:56:39 UTC 2011


On 02.05.2011 00:56, Andres Valloud wrote:
> Does the Windows VM depend on QueryPerformanceCounter()?
The Cog VM (which it seemed Jimmie was using) uses a clock 
(sqWin32Heartbeat.c) initialized with
GetSystemTimeAsFileTime and timeGetTime
then adds an offset based on current timeGetTime (reinitialization 
happens at rollovers)

I can't see any mention of drift in the Microsoft documentation of 
timeGetTime, but I guess there must be some?

Cheers,
Henry


More information about the Vm-dev mailing list