public synchronized void add(StopWatch sw)
    {
        double timeInMs = sw.getTimeMicros() / MICROS_IN_MILLIS;
        // let fake the array
        for ( int i=0; i < sw.getCount() ; i++ )
            m_times.add(timeInMs / sw.getCount());
        if( timeInMs < m_min ) m_min = timeInMs;
        if( timeInMs > m_max ) m_max = timeInMs;
    }
public synchronized void add ( StopWatch sw ) { double timeInMs = sw . getTimeMicros ( ) / MICROS_IN_MILLIS ; for ( int i = 0 ; i < sw . getCount ( ) ; i ++ ) m_times . add ( timeInMs / sw . getCount ( ) ) ; if ( timeInMs < m_min ) m_min = timeInMs ; if ( timeInMs > m_max ) m_max = timeInMs ; }
Add a StopWatch to the statistics.

@param sw StopWatch to add.