commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Grobmeier" <grobme...@possessed.de>
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.

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message