public void finish ( ) { if ( startMeasure == null ) { Say . info ( "No invokations are measured" ) ; } else { long total = System . currentTimeMillis ( ) - startMeasure ; double average = 1d * total / counter ; logFinished ( total , average ) ; } }
This method can be called to print the total amount of time taken until that point in time .