switches from the running state into the not running state . the time since the last call to start is added to the accumulated time . time measurement is hence suspended until the next call of start . concode_field_sep boolean isRunning concode_elem_sep long nanoAccumulatedTime concode_elem_sep long nanoLastStartCall concode_field_sep double seconds concode_elem_sep long nanoSeconds concode_elem_sep void start concode_elem_sep void reset concode_elem_sep void printTime
void function ( ) { if ( ! isRunning ) throw new RuntimeException ( "srini_string" ) ; nanoAccumulatedTime += System . nanoTime ( ) - nanoLastStartCall ; isRunning = false ; }