public long getElapsedTicks ( ) { long elapsed ; if ( running ) { elapsed = ( System . nanoTime ( ) - startTime ) ; } else { elapsed = ( stopTime - startTime ) ; } return elapsed / nsPerTick ; }
Gets the total elapsed time measured by the current instance in nanoseconds . 1 Tick = 100 nanoseconds