From 270a3f6e22782278a5254c4c073cad2ad8b6ccf8 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 28 Aug 2014 20:31:35 +0400 Subject: java-decompiler: post-import cleanup (unneeded files dropped) --- timer/SystemTimerResolution.java | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 timer/SystemTimerResolution.java (limited to 'timer/SystemTimerResolution.java') diff --git a/timer/SystemTimerResolution.java b/timer/SystemTimerResolution.java deleted file mode 100644 index 56ececd..0000000 --- a/timer/SystemTimerResolution.java +++ /dev/null @@ -1,31 +0,0 @@ -// ---------------------------------------------------------------------------- -/** - * A simple class to see what the Java system timer resolution is on your - * system. - * - * @author (C) Vlad Roubtsov, 2002 - */ -public class SystemTimerResolution -{ - // public: ................................................................ - - public static void main (final String [] args) - { - // JIT/hotspot warmup: - for (int r = 0; r < 3000; ++ r) System.currentTimeMillis (); - - long time = System.currentTimeMillis (), time_prev = time; - - for (int i = 0; i < 5; ++ i) - { - // busy wait until system time changes: - while (time == time_prev) - time = System.currentTimeMillis (); - - System.out.println ("delta = " + (time - time_prev) + " ms"); - time_prev = time; - } - } - -} // end of class -// ---------------------------------------------------------------------------- -- cgit v1.2.3