85 m_data->timer.start();
92 while ( m_data->timer.isValid() )
94 const qint64 timestamp = m_data->timer.nsecsElapsed();
97 if ( m_data->msecsInterval > 0.0 )
99 const double interval = m_data->msecsInterval * 1e3;
100 const double elapsed = ( m_data->timer.nsecsElapsed() - timestamp ) / 1e3;
105 QThread::usleep( qRound( usecs ) );