Isn't NanoTimer a replacement for this?

Also, let's see if we can suppress the compile warnings...


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@963 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2010-07-26 19:30:46 +00:00
parent c795f1482a
commit 27657d0c2c
@@ -25,7 +25,11 @@ import sun.misc.Perf;
/** /**
* A timer that uses the performance clock exposed by Sun in JDK 1.4.2. * A timer that uses the performance clock exposed by Sun in JDK 1.4.2.
* @deprecated Use {@link NanoTimer} instead.
*/ */
@Deprecated
// warning: sun.misc.Perf is Sun proprietary API and may be removed in a future release
@SuppressWarnings("all")
public class PerfTimer extends CalibratingTimer public class PerfTimer extends CalibratingTimer
{ {
public PerfTimer () public PerfTimer ()