Changeset 555 in Sophya for trunk/Poubelle/archTOI.old/toiiter.cc


Ignore:
Timestamp:
Nov 9, 1999, 3:04:05 PM (26 years ago)
Author:
ansari
Message:

portage cxx en cours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/toiiter.cc

    r534 r555  
    272272  if (curSample >= sEnd || archParam.acq.SN2MJD(curSample) >= mjdEnd) return false;
    273273 
    274   for (int i=0; i<request.size(); i++)
    275     request[i].second->wontNeedEarlier(request[i].first, this, curSample);
     274  static long lastClean = 0;
     275  if (curSample - lastClean > 100) {
     276    for (int i=0; i<request.size(); i++)
     277      request[i].second->wontNeedEarlier(request[i].first, this, curSample);
     278    lastClean = curSample;
     279  }
    276280
    277281  bool endFound = false;
Note: See TracChangeset for help on using the changeset viewer.