stop the stopwatch and record the statistics for the latest run . this method does nothing if the stopwatch is not currently #isrunning running concode_field_sep long lastStarted concode_elem_sep DetailedStatistics<Duration> detailedStats concode_elem_sep SimpleStatistics<Duration> stats concode_elem_sep String description concode_field_sep Duration getAverageDuration concode_elem_sep void start concode_elem_sep int compareTo concode_elem_sep Duration getMaximumDuration concode_elem_sep String getDescription concode_elem_sep Duration getMinimumDuration concode_elem_sep Histogram<Duration> getHistogram concode_elem_sep Duration getMedianDuration concode_elem_sep SimpleStatistics<Duration> getSimpleStatistics concode_elem_sep boolean isRunning concode_elem_sep Duration getTotalDuration concode_elem_sep boolean isDetailedStatistics concode_elem_sep void reset concode_elem_sep void lap concode_elem_sep String toString concode_elem_sep DetailedStatistics<Duration> getDetailedStatistics concode_elem_sep int getCount
void function ( ) { if ( this . isRunning ( ) ) { long loc0 = System . nanoTime ( ) - this . lastStarted ; this . lastStarted = 0l ; this . stats . add ( new Duration ( loc0 ) ) ; } }