Re: [Pharo-project] System time

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-project] System time

Henrik Sperre Johansen
 
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