// time_test.java check measuring wall clock time public class time_test { double now; double next; time_test() { System.out.println("time_test starting"); System.out.println("Should be wall time, 5 second intervals"); now = System.currentTimeMillis()/1000.0; next = now+5.0; for(int i=0; i<90;) { now = System.currentTimeMillis()/1000.0; if(now >= next) { System.out.println(i); i=i+5; next=next+5.0; } } } // end time_test constructor static public void main(String[] args) { new time_test(); } // end main } // end class time_test