commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Grobmeier" <>
Subject Re: Gump & VM
Date Thu, 15 Dec 2005 08:46:10 GMT
 > So what can we do?

I read about timers in the book "killer game programming in java" :-),
where this things are important. Maybe this is a direction for you.

Use the following instead of System.currentTimeMillis():

1) Suns undocumented Class (Java2): sun.misc.Perf

2) Java 5: System.nanoTime()

This two have a higher resolution than currentTimeMillis() and could help.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message