Here you can find the source of printTimeElapsed(long starttime)
public static void printTimeElapsed(long starttime)
//package com.java2s; //License from project: Open Source License public class Main { public static void printTimeElapsed(long starttime) { long now = System.nanoTime(); System.out.println("elapsed time " + (now - starttime) / 1000 + " mi" + "" + "cro-secs"); }/*from w ww . ja v a 2 s . c om*/ }