Here you can find the source of timeSince(long timestart)
Parameter | Description |
---|---|
timestart | in nanoseconds |
public static long timeSince(long timestart)
//package com.java2s; //License from project: Open Source License public class Main { /**//from w ww . j a v a 2s . c o m * Time elapsed since a start time. * @param timestart in nanoseconds * @return nanoseconds since timestart */ public static long timeSince(long timestart) { return (System.nanoTime() - timestart); } }