public void stop(){
  end_time=System.nanoTime();
  total_time=end_time - start_time;
}

public void stop ( ) { end_time = System . nanoTime ( ) ; total_time = end_time - start_time ; }
stop the entity . call this when the thing you are measuring is complete . this will be measured in nanoseconds .
