@Test public void testGetRuntimeMillis() { final StopWatch sw = new StopWatch("foo").start(); sw.lap("bar", false); try { Thread.sleep(1000); } catch (InterruptedException e) { } sw.lap("baz", true); sw.stop(); final long rt = sw.getRuntimeMillis(); assertTrue(rt < 50000); }
public long getRuntimeMillis() { final long nano = this.getRuntime(); return nano / 1000000L; }
StopWatch { public long getRuntimeMillis() { final long nano = this.getRuntime(); return nano / 1000000L; } }
StopWatch { public long getRuntimeMillis() { final long nano = this.getRuntime(); return nano / 1000000L; } StopWatch(String _descr); private  StopWatch(String _descr, double _total, boolean _start); }
StopWatch { public long getRuntimeMillis() { final long nano = this.getRuntime(); return nano / 1000000L; } StopWatch(String _descr); private  StopWatch(String _descr, double _total, boolean _start); StopWatch setTotal(double _total); StopWatch start(); long progress(); long progress(double _by, boolean _force_log); long lap(String _message); long getMaxLapTime(); long getAvgLapTime(); long lap(String _message, boolean _force_log); void stop(); void stop(Exception _e); long getStartMillis(); long getRuntime(); long getRuntimeMillis(); boolean isStarted(); boolean isRunning(); }
StopWatch { public long getRuntimeMillis() { final long nano = this.getRuntime(); return nano / 1000000L; } StopWatch(String _descr); private  StopWatch(String _descr, double _total, boolean _start); StopWatch setTotal(double _total); StopWatch start(); long progress(); long progress(double _by, boolean _force_log); long lap(String _message); long getMaxLapTime(); long getAvgLapTime(); long lap(String _message, boolean _force_log); void stop(); void stop(Exception _e); long getStartMillis(); long getRuntime(); long getRuntimeMillis(); boolean isStarted(); boolean isRunning();  }