LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: CaptainJester on August 02, 2005, 01:37:38

Title: High res timer
Post by: CaptainJester on August 02, 2005, 01:37:38
In org.lwjgl.Sys, the method getTimerReesolution used to return a true value.  I looked at the source and noticed that it was changed to return 1000 all the time.  Is there another way to get the resolution?  Or is there a different timer set up now?
Title: High res timer
Post by: Matzon on August 02, 2005, 05:33:35
The problem is that we are now using another timer than QueryPerformanceCounter in win32, because it was totally broken on speedstep and multicore CPUs
Title: High res timer
Post by: CaptainJester on August 02, 2005, 11:13:03
Thanks.

Damn, I need that high resolution.  I guess I'll look at GAGE to see if they have it that high.
Title: High res timer
Post by: princec on August 02, 2005, 18:41:43
I think I might revisit this bit of code and see if we can get it to use QPC whenever possible.

Cas :)