question: public void updateEnd ( Logger log ) { m_instanceCount ++ ; m_sampleCount ++ ; double end = System . currentTimeMillis ( ) ; double temp = end - m_updateStart ; m_cumulativeTime += temp ; boolean toFastToMeasure = false ; if ( ( end - m_startTime ) >= m_sampleTime ) { computeUpdate ( end ) ; if ( log != null ) { log . statusMessage ( m_statusMessagePrefix + "Processed " + m_instanceCount + " insts @ " + m_avInstsPerSec / m_numSamples + " insts/sec" + ( toFastToMeasure ? "*" : "" ) ) ; } m_sampleCount = 0 ; m_cumulativeTime = 0 ; m_startTime = System . currentTimeMillis ( ) ; } }
target:  Register a throughput measurement end point. Collects counts and statistics. Will update the status area for the KF step in question if the sample period has elapsed.