public class TestTimer { public static double tick() { return (double) System.currentTimeMillis() / 1000.0; } }