com.sun.appserv.management.util.misc
Class PrintMillis
java.lang.Object
com.sun.appserv.management.util.misc.PrintMillis
public class PrintMillis
- extends Object
Useful for printing elapsed timings out. Example:
final PrintMillis timer = new PrintMillis();
...
timer.println( "start" );
...
timer.println( "middle" );
...
...
timer.println( "end" );
Method Summary |
void |
println(String msg)
Print out the milliseconds that have elapsed since the last call. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintMillis
public PrintMillis()
println
public void println(String msg)
- Print out the milliseconds that have elapsed since the last call.
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.