public void endTiming ( ) { if ( _callback != null ) { float elapsed = System . currentTimeMillis ( ) - _start ; _callback . endTiming ( _counter , elapsed ) ; } }
Ends timing of an execution block calculates elapsed time and updates the associated counter .