FileDocCategorySizeDatePackage
PrintMillis.javaAPI DocGlassfish v2 API2502Fri May 04 22:25:00 BST 2007com.sun.cli.util

PrintMillis

public class PrintMillis extends Object

Fields Summary
private long
mLast
Constructors Summary
public PrintMillis()

	
		
	  
	
		mLast	= System.currentTimeMillis();
	
Methods Summary
public voidprintln(java.lang.String msg)

		final long	elapsed	= System.currentTimeMillis() - mLast;
		
		System.out.println( msg + ": " + elapsed );
		
		mLast	= System.currentTimeMillis();