Here you can find the source of elapsedTimeMs(long start)
Parameter | Description |
---|---|
start | the start time |
public static long elapsedTimeMs(long start)
//package com.java2s; //License from project: Apache License public class Main { /**/*from w w w. j av a 2s. com*/ * Get the elapsed time in millisecond between the specified start time and now. * * @param start the start time * @return the elapsed milliseconds */ public static long elapsedTimeMs(long start) { return System.currentTimeMillis() - start; } }