question: public double end ( ) { assureRightState ( "end" , true ) ; lastTime = elapsed ( ) ; lapped . add ( lastTime ) ; time = - 1 ; return lastTime ; }
target:  Ends current profiling session. Saves result for average calculations.