/* */ package NET.worlds.network; /* */ /* */ import NET.worlds.core.Std; /* */ import java.io.PrintStream; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ public class Timer /* */ { /* */ int _startTime; /* */ String _msg; /* */ /* */ public Timer(String msg) /* */ { /* 21 */ this._msg = msg; /* 22 */ this._startTime = Std.getRealTime(); /* */ } /* */ /* */ public void stop(int minDur) { /* 26 */ int endTime = Std.getRealTime(); /* 27 */ int duration = endTime - this._startTime; /* 28 */ if (duration > minDur) { /* 29 */ System.out.println(this._msg + ": " + duration + "ms"); /* */ } /* */ } /* */ } /* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\network\Timer.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */