Changeset 1973 in ntrip for trunk/BNC/latencychecker.cpp


Ignore:
Timestamp:
Nov 17, 2009, 3:53:19 PM (14 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/latencychecker.cpp

    r1972 r1973  
    309309void latencyChecker::checkObsLatency(const QList<p_obs>& obsList) {
    310310
    311   _meanLatency = 0.0;
    312 
    313311  if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) {
    314312    if (_perfIntr > 0 ) {
     
    332330                  .arg(_numGaps)
    333331                  .toAscii(), true) );
    334                 _meanLatency = _sumLat/_numLat*1000.;
    335332              } else {
    336333                emit( newMessage(QString("%1: Mean latency %2 sec, min %3, max %4, rms %5, %6 epochs")
     
    342339                  .arg(_numLat)
    343340                  .toAscii(), true) );
    344                 _meanLatency = _sumLat/_numLat*1000.;
    345341              }
    346342            }
     
    399395//////////////////////////////////////////////////////////////////////////////
    400396void latencyChecker::checkCorrLatency(int corrGPSEpochTime) {
    401 
    402   _meanLatency = 0.0;
    403397
    404398  if (corrGPSEpochTime < 0) {
     
    436430              .arg(_numGaps);
    437431              emit(newMessage(QString(_staID + late ).toAscii(), true) );
    438               _meanLatency = _sumLat/_numLat*1000.;
    439432            }
    440433            else {
     
    446439              .arg(_numLat);
    447440              emit(newMessage(QString(_staID + late ).toAscii(), true) );
    448               _meanLatency = _sumLat/_numLat*1000.;
    449441            }
    450442          }
Note: See TracChangeset for help on using the changeset viewer.