public String finished(Logger log){
  if (m_avInstsPerSec == 0) {
    computeUpdate(System.currentTimeMillis());
  }
  int nS=m_numSamples > 0 ? m_numSamples : 1;
  String msg="Finished - " + m_instanceCount + " insts @ "+ m_avInstsPerSec / nS + " insts/sec";
  if (log != null) {
    log.statusMessage(m_statusMessagePrefix + msg);
  }
  return msg;
}

public String finished ( Logger log ) { if ( m_avInstsPerSec == 0 ) { computeUpdate ( System . currentTimeMillis ( ) ) ; } int nS = m_numSamples > 0 ? m_numSamples : 1 ; String msg = "Finished - " + m_instanceCount + " insts @ " + m_avInstsPerSec / nS + " insts/sec" ; if ( log != null ) { log . statusMessage ( m_statusMessagePrefix + msg ) ; } return msg ; }
register the end of measurement . writes a " finished " update ( that includes the final throughput info ) to the status area of the log .
