Sys's timing operations versus Timer?

Hi,
what are the advantages between using Sys’s timing operations versus Timer class (apart that Timer measures time in seconds)?

Thanks!

Timer.getTime() returns the same time with each invocation, until Timer.tick() (static) is called.
Sys.getTime() returns the actual time at that very moment (accuracy 1ms IIRC).

I got this info from the javadocs.

The idea is you call Timer.tick() once at the start of your logic loop, then all your Timer instances are synchronized to that point in time (“synchronize watches!!”).

Cas :slight_smile:

OK thanks guys. I guess I Sys.getTime() and Sys.getTimerReslution() does the job well in my case. I’ve just stopped using GAGETimer since LWJGL already provides an hires timer and I already use LWJGL for other things.